Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^8: Burned by precedence rules (fail() if "false";)

by gwadej (Chaplain)
on Dec 31, 2008 at 04:33 UTC ( #733402=note: print w/ replies, xml ) Need Help??


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


Comment on Re^8: Burned by precedence rules (fail() if "false";)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://733402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2014-07-28 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (204 votes), past polls