3 ms·
It's funny to see these web things, that are in the end a "bad" reinvention of what a Lisp programmer would do with macros, but without anything special. Instea
by thibran 5y ago
It's funny to see these web things, that are in the end a "bad" reinvention of what a Lisp programmer would do with macros, but without anything special. Instead of having macros, they just reinvent the wheel again and again...
Nowadays JS is compiled... what a joke. I understand why they do it, the result with a JS transplitter is just better for everyone, but why on earth do they not use macros? Maybe in 20 years macros will be the thing, like filter/map has been in the last 10 years... who knows.
- orthecreedence 5y agoComing from many years in common lisp, I often wonder this. With things like coffeescript I felt the syntax didn't add much, but you've got the chance to do something great...add macros!! Rust is a good example of grafting macros onto an existing language, and the JS syntax is even simpler than rust, so why has nobody done it in any of the compile-to-JS languages? Seems like a waste of an opportunity.