3 ms·
Exactly why and how does this let me do stuff I couldn't do before with JS? The example used here looks like something that could be done just as easily with O
by CalvinCopyright 14y ago
Exactly why and how does this let me do stuff I couldn't do before with JS? The example used here looks like something that could be done just as easily with OOP at first glance...
- draegtun 14y agoThe 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