Re:Farewell CoffeeScript
by gabemart on Thursday October 02, 2014 @05:56AM
(#8400058)
Can you give a few examples of common JS mistakes that coffeescipt prevents?
[ Parent
| on HN ]
I'm not deep in either CS or JS, but I suppose one could find some pitfalls from the differences between == and ===, and from checking the existence of a variable?
Also, JS switch/case statements follow the good-old maldesign from C where each body has to end with break or it falls through.
Variable hoisting?