Re:how should I chain function call in coffeescript
by sil3ntmac on Sunday August 25, 2013 @02:18PM
(#6273004)
I like coffeescript. Lots of web devs that write ruby all day like coffeescript. tbh I think coffeescript is worth it just to never have to write "function(){..." or "this." again. It's also worth it for its free OOP features. It will have quirks, like what you see here, but I have hit these pain points and still love it.
[ Parent
| on HN ]
Re:how should I chain function call in coffeescript
by hbbio on Sunday August 25, 2013 @03:05PM
(#6273234)
Maybe it's because I never did Ruby then.
Beyond the title bait, since you have to know JS quirks anyway, and since CoffeeScript adds its own burden (like in the link), I really don't see the point of using it.
Also, the 'function' keyword is a very visible marker when I read code and this has became unconscious. I now believe that the quantity of code you write doesn't matter: readability matters most.