You're not giving up Javascript, the number one rule of CoffeeScript is that CoffeeScript is Javascript.
What does this even mean?
CS has different syntax. You cannot take random CS code and drop it into a JS app and run it. CS needs to first be converted into JS, which wouldn't be necessary if CS were JS.
Comments
You're not giving up Javascript, the number one rule of CoffeeScript is that CoffeeScript is Javascript.
What does this even mean?
CS has different syntax. You cannot take random CS code and drop it into a JS app and run it. CS needs to first be converted into JS, which wouldn't be necessary if CS were JS.
The point is that the semantics of CS are the same as javascript.
There is no run-time interpretation, libraries or magic like in some other to-JS languages.
You still have prototypes, function scope, closures, etc. but with a (arguably) nicer and cleaner syntax.