7 ms·
> The golden rule of CoffeeScript is: "It's just JavaScript"[0] Macros would be deviating from core JS too much to fit with CoffeeScript's goal. Just happens t
by ConstantineXVI 14y ago
> The golden rule of CoffeeScript is: "It's just JavaScript"[0]
Macros would be deviating from core JS too much to fit with CoffeeScript's goal. Just happens that the compiler is nicely hackable to allow for these projects.
Not to say I object to the idea of an expanded CoffeeScript, just that it should be a fork.
[0] http://coffeescript.org/ http://coffeescript.org/
- gtrak 14y agoMacros will eventually be in core JS, see: http://disnetdev.com/blog/2012/10/14/hygienic-macros-for-javascript/ http://disnetdev.com/blog/2012/10/14/hygienic-macros-for-jav... and http://brendaneich.github.com/Strange-Loop-2012/#/40 http://brendaneich.github.com/Strange-Loop-2012/#/40 http://www.infoq.com/presentations/State-JavaScript http://www.infoq.com/presentations/State-JavaScript