Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you really need to parenthesize the parameters? Is there something that can break the variable declaration into multiple statements?


Here, no. It's just a habit or common style guideline to always parenthesize macro parameters since so many macros can otherwise break.


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: