Re:Why Lisp macros are cool, a Perl perspective (2005)
by rtpg on Thursday December 04, 2014 @02:52AM
(#8698286)
Very excellent argument against C macros in any case.
[ Parent
| on HN ]
Re:Why Lisp macros are cool, a Perl perspective (2005)
by Elrac on Thursday December 04, 2014 @05:59AM
(#8698700)
Yep. Even as a long time C hacker who knows to avoid the common pitfalls, I wasn't aware of just how many ways there are to botch up the use of macros.
There are lots of cases where macros look like the obvious and elegant solution to a problem. Some of those cases are bugs waiting to happen.
Re:Why Lisp macros are cool, a Perl perspective (2005)
by patrickmay on Thursday December 04, 2014 @10:35AM
(#8699713)
Nicely summarized, indeed.
His bemusement at the reaction of C++ proponents made me laugh: "But I did not think at the time that this would be controversial. I was sure that even the most rabid C++ fans would agree with me that the C++ macro system blows goat dick...."