Re:Stop Writing JavaScript Compilers, Make Macros Instead
by MBlume on Wednesday January 08, 2014 @03:31PM
(#7026364)
Macros are not functions, macros are a mechanism for adding features to the language itself.
[ Parent
| on HN ]
Re:Stop Writing JavaScript Compilers, Make Macros Instead
by ahunt09 on Wednesday January 08, 2014 @03:37PM
(#7026410)
Maybe I wasn't clear. I am not saying that macros are functions. I'm saying that without seeing the implementation, both look identical, and thus could be conflated, but do not treat scope identically.