Y
Hacker News
new
|
ask
|
show
|
jobs
by
afdbcreid
1143 days ago
Do you really need to parenthesize the parameters? Is there something that can break the variable declaration into multiple statements?
2 comments
kps
1143 days ago
Here, no. It's just a habit or common style guideline to always parenthesize macro parameters since so many macros can otherwise break.
link
dzaima
1143 days ago
Here, probably not (with proper arguments at least; without the parens something like `MAX(1;2, 3)` would compile without errors though), but I'm just used to doing it everywhere.
link