|
|
|
|
|
by jpcx01
5540 days ago
|
|
CoffeeScript "fixes" javascript in many very essential ways. The most important fix is the lack of global variables. It's all too easy to accidentally forget a var on an assignment and all of a sudden you get a global variable that can cause havok. CoffeeScript handles variable scoping extremely well, and if you need a global, you can use the more explicit: window.var = .... Also it's class system and function binding (=>) is something I feel I can no longer live without. |
|
How does coffee script play with existing object oriented JS libraries? Is there compile-time type checking?