Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had a look at the CoffeeScript source. Is there some reason why you're not using CoffeeScript's `class`? It would save you having to do all the `tyto::foo` and `tyto = this` stuff.


hey bshimmin!

I did start out using class in coffeescript but I couldn't get it to work quite how I wanted to at the time but I was brushing up on my coffeescript and it is a really valid point and therefore I shall probably revisit this to refactor into that form. It does make sense after all.

Thanks for the feedback!




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: