5 ms·
The best JavaScript habit one can have: learn Coffeescript (or ClojureScript, or BiwaScheme, etc.) ;) Seriously, I came to Javascript from a C# background and
by duncan_bayne 14y ago
The best JavaScript habit one can have: learn Coffeescript (or ClojureScript, or BiwaScheme, etc.) ;)
Seriously, I came to Javascript from a C# background and everything I saw pointed me towards treating JS as a compilation target, and choosing a language that enabled me to do the Right Thing(TM) easily and tersely.
I'm not saying "don't learn JS" ... just that it seems a bit odd to be manually coding in JS when there are so many better alternatives out there.
- untog 14y agoWhile I like CoffeeScript (and code in it, day to day), I think having a base level of what's going on in the JS is still important- and will be until browsers allow you to exactly map your CS code to in-browser results.
- duncan_bayne 14y agoI strongly agree - which is why I said I'm not against learning JS. I just don't think it's terribly useful as a language as opposed to as a compilation target.