Something like that.
This is why I started using the term magic constants a few years ago to complement magic literals. Everybody agrees that magic literals in code are a bad idea. But, what happens when the constant you chose to replace is with provides no more meaning or abstraction...magic constant.
A constant like FOUR provides so little information that it would have been better to leave the original literal 4 in the code.
In reply to Re^8: Burned by precedence rules (fail() if "false";)
by gwadej
in thread Burned by precedence rules
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |