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

Wow, I wish this is what coffeescript was. This has most of the niceties of coffeescript and adds immutability, types, and macros.

I will end up sticking with TypeScript though for anything at work since the type system has more capabilities right now and it is just Javascript with types so it is very simple to use for those with Javascript experience.



What do you mean when say that you wish CoffeeScript was this? I mean GorillaScript exists, so if you prefer it to CoffeeScript then use it rather than CoffeeScript.


The difference is that CoffeeScript has a massive amount of mindshare, integrations, and tooling. GorillaScript may be better than CoffeeScript but that doesn't mean that it's even remotely close in terms of day-to-day usability. Because CoffeeScript got there first (and was decent) it's got a huge head start on ANY other competitor.


Yes, but that's like saying Perl got there first before Python or Ruby. GorillaScript, CoffeeScript, TypeScript, etc. all basically use Javascript as a platform, and there should be room for all of them in the long run. (Or, at least room to let the market sort out which ones they like the best).

BTW, this got me thinking: are the Javascript envine vendors (V8, etc.) doing anything to make it easier to write languages like GorillaScript or CoffeeScript? Or is it all up to the language designers?


They have made serious effort with developer tooling, especially with Source Maps.




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

Search: