2 ms·
The examples show how new syntax can be added to JS which is something you won't be able to do in OOP. For more examples of where macros can be useful see this
by draegtun 14y ago
The examples show how new syntax can be added to JS which is something you won't be able to do in OOP.
For more examples of where macros can be useful see this previous HN post: http://news.ycombinator.com/item?id=3124920 http://news.ycombinator.com/item?id=3124920