HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by erehweb | Hacker News Reader
Parent
Full thread
erehweb
·
The truly brilliant thing to do would be
#define SEVENTEEN 16
View on HN
stephenbennyhat
·
I worked for a while with a software engineer who insisted in encoding the value of the macro within the name:
#define MAGIC_16 16
his rationale was that you had to go through all the uses and consider whether the change would cause an issue.
It takes all kinds.
chii
·
// the law changed, but we're too lazy to rename the constant
Reply on news.ycombinator.com