News for hackers. Stuff that matters.
Re:Tips on writing C macros by yvueywa on Tuesday August 04, 2009 @08:52PM (#742558)
Tip 1, don't

Tip 2, see tip 1

Re:Tips on writing C macros by neilc on Tuesday August 04, 2009 @11:55PM (#742813)
That is silly; there are plenty of situations in which macros are useful in C. I'd be inclined to avoid complex multi-line macros that multiply-evaluate their arguments unless there's a compelling need for them, however.