in reply to Re^7: Burned by precedence rules (fail() if "false";)
in thread Burned by precedence rules
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.
G. Wade
|
---|
In Section
Meditations