Re:What do you want to see in Learn C The Hard Way?
by alnayyir on Friday November 05, 2010 @12:38PM
(#1873839)
There are as many potential problems with macros as there are grains of sand in Saudi Arabia.
Best not to go there beyond explaining how and why not to, and leave it at that.
Order of operations is an example of something that bites people with macros. (ref/deref + macro has nailed a lot of professionals I know)
If you're going to cover macros, please make sure to explain how they work and the multitude of pitfalls as well as how to deal with them; which is to wrap each macro in parenthesis.