Re:My gripes with JavaScript
by franze on Wednesday June 22, 2011 @10:25AM
(#2683241)
i never thought that one day i will be the quy who posts this: try coffeescript, it really really helps (i would not believe it at first, either)
[ Parent
| on HN ]
I'm not a fan of CoffeScript, it fixes the wrong problems. It's not the syntax that's the REAL issue, it's the fragmentation, lack of module system, etc.
CoffeeScript doesn't do much to fix the bad bits -- it's still JavaScript, after all -- but it does make the good bits way more fun.
i agree, the biggest fix of coffeescript is not the syntax ( i never saw the JS syntax as the issue), the biggest fix / benefit of CS is:
Everything is an Expression (at least, as much as possible)
a lot of the hassles with JS just disappear with this "small" change (if applied extensivly)