2 ms·
It's kind of cool how in lisp you're supposed to do macros to change major aspects of how the language behaves, but in C if you try having a little bit of fun w
by GFK_of_xmaspast 12y ago
It's kind of cool how in lisp you're supposed to do macros to change major aspects of how the language behaves, but in C if you try having a little bit of fun with #define and the pre-processor everybody starts getting just extremely rude at you.
- swuecho 12y agoThat is part of the reason. everybody think lisp cool, but very few programmer use lisp.
- the_af 12y agoTo be fair, C #define macros are extremely dangerous and error prone in ways that Lisp macros aren't. I haven't bought into this "Lisp macros are the best thing since sliced bread" idea, but without a doubt they are infinitely more awesome than C macros.
- Dewie3 12y agoCould the reason perhaps be that Lisp macro facilities tend to be much more sane than C's pre-processor? Just a wiiild guess.