IcedCoffeeScript
maxtaco.github.com
IcedCoffeeScript
1–10 of 63 posts
Re: IcedCoffeeScript
#2Re: IcedCoffeeScript
#3Re: IcedCoffeeScript
#4Re: IcedCoffeeScript
#5Why didn't the "iced" feature just get added to CoffeeScript? Why have two separate packages?
Re: IcedCoffeeScript
#6Why didn't the "iced" feature just get added to CoffeeScript? Why have two separate packages?
That being said, right up front he explains the two reasons why this is a departure from CoffeeScript’s core philosophy: `await` and `defer` are changes in the semantics of JavaScript, and not surprisingly, code written in IcedCoffeeScript no longer compiles into more-or-less recognizable JavaScript.
Modulo syntax and sugar, CoffeeScript is JavaScript with some minor changes to the AST (such as soaking up nils with the Elvis operator). IcedCoffeeScript is another language that evolved from JavaScript and transpiles to JavaScript.
Before adding such features willy-nilly to CoffeeScript, folks need to be comfortable walking away from a core value. I’m not saying that’s a bad thing, but it’s a problem related to the Innovator’s Dilemma: To embrace this new value, CoffeeScript will have to alienate some portion of its user base that value compiled JavaScript that is easily recognizable to anyone who has read the CoffeeScript source.
Re: IcedCoffeeScript
#7Re: IcedCoffeeScript
#8Why didn't the "iced" feature just get added to CoffeeScript? Why have two separate packages?
I haven't looked at this implementation specifically, but the issue with many similar proposals/implementations is that the generated JavaScript is ugly. One of the nice things about CoffeeScript is that there's no magic--it's very easy to figure out what the generated JavaScript is doing, and there's a straightforward CS JS mapping. jashkenas (CoffeeScript's author) has been reluctant to change that.
Re: IcedCoffeeScript
#9Re: IcedCoffeeScript
#10Why didn't the "iced" feature just get added to CoffeeScript? Why have two separate packages?
I haven't looked at this implementation specifically, but the issue with many similar proposals/implementations is that the generated JavaScript is ugly. One of the nice things about CoffeeScript is that there's no magic--it's very easy to figure out what the generated JavaScript is doing, and there's a straightforward CS JS mapping. jashkenas (CoffeeScript's author) has been reluctant to change that.