Re:CoffeeScript2 - A Redesign of the CoffeeScript Compiler
by mistercow on Saturday June 02, 2012 @07:41PM
(#4059554)
Well, one reason that it could go that way is that the attitude that the maintainers has had toward feature-creep is "just make your own fork!" That's why we now have more dialects than we can shake a stick at, but it has kept the main branch from becoming PHP.
Re:CoffeeScript2 - A Redesign of the CoffeeScript Compiler
by charliesome on Sunday June 03, 2012 @02:50AM
(#4060251)
Please stop saying 'transpiler'. The CoffeeScript compiler is no less deserving of the term than any other compiler.
Re:CoffeeScript2 - A Redesign of the CoffeeScript Compiler
by mistercow on Sunday June 03, 2012 @09:59AM
(#4060739)
"Transpiler" is a subset of "compiler", so it can hardly be a demeaning term. A transpiler is simply a compiler that translates code from language A to language B where A and B have roughly the same abstraction level. It is true that CoffeeScript is slightly more abstract than JavaScript in a few features (although JavaScript's inheritance model is more abstract than CoffeeScript's classes, for example), but any difference in abstraction level is tiny compared to the difference between, say, C and assembly.
And, by the way, coffeescript is not intended to be a language for hackers (I mean, only for hackers) but for Ruby programmers moving to javascript, JS programmers looking for a more terse syntax and programmers with an eye for terseness.
In my opinion it has only two big flaws that need to be targeted by new transpilers: 1) for --> each 2) parens free chainable syntax.