Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sumtechguy
on July 14, 2022
|
parent
|
context
|
favorite
| on:
The Preprocessor Iceberg Meme
Most of the abuses of #define I have seen, a template or constexpr takes care of. There are still some cases where it is nice. But many times you probably should just write a function/method/template out of it anyway.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: