Skip to content

Comment on My response to "CoffeeScript means giving up on JavaScript"parent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.