"be consistent" | |
PerlMonks |
Re: Burned by precedence rulesby jplindstrom (Monsignor) |
on Dec 23, 2008 at 16:20 UTC ( [id://732318]=note: print w/replies, xml ) | Need Help?? |
My rule of thumb is to always use && and friends in expressions, and "and" and friends for flow control. That works well with the precedence rules, and it makes the intention explicit as to what's going on. But I also have a rule of thumb to use parens where that makes things more clear. /J
In Section
Meditations
|
|