Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yvueywa
on Aug 5, 2009
|
parent
|
context
|
favorite
| on:
Tips on writing C macros
Tip 1, don't
Tip 2, see tip 1
neilc
on Aug 5, 2009
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Tip 2, see tip 1