Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Burned by precedence rules

by lostjimmy (Chaplain)
on Dec 23, 2008 at 19:21 UTC ( #732358=note: print w/ replies, xml ) Need Help??

in reply to Burned by precedence rules

I completely agree with MidLifeXis and jplindstrom. I always use && and || for expressions, since I learned to program in C, and and and or for flow control. I find that it looks confusing when I come across a statement such as if (x == 1 and y == 2), whereas open ... or die always seems very natural.

Comment on Re: Burned by precedence rules
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-10-07 09:53 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (176 votes), past polls