Re:Stop Writing JavaScript Compilers, Make Macros Instead
by michaelmior on Wednesday January 08, 2014 @02:54PM
(#7026069)
Macros CAN be well-defined, but I think the cherry picking of macros mentioned in the article leads to a "language" that is ill-defined vs picking up CoffeeScript or LiveScript. The idea of implementing ES6 via macros is pretty attractive though.
Re:Stop Writing JavaScript Compilers, Make Macros Instead
by windsurfer on Wednesday January 08, 2014 @02:48PM
(#7026027)
Why can't macros be well defined?
It's true that different compilers and interpreters sometimes do slightly different things, but atleast there's a standard which should improve over time. I don't see that happening with macros.
Not sure how modularity is achieved with macros either.