Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Scratching my head...

by turnstep (Parson)
on May 01, 2001 at 01:37 UTC ( #76768=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Scratching my head...
in thread Scratching my head...

What idiom do you use? I strongly prefer using "or" myself, but there is nothing wrong with using || as long as you get the parens straight. Besides, the 'debugging hell' tends to teach a very important lesson on the importance of precedence. :)

Comment on Re: Re: Re: Scratching my head...
Replies are listed 'Best First'.
Re: Re: Re: Re: Scratching my head...
by virtualsue (Vicar) on May 02, 2001 at 01:55 UTC
    I not only prefer "or", I have gone as far as coercing coworkers to use it as well, for the simple reason that "or" always works as expected in this type of statement. I'm a strong believer in Defensive Programming, and avoiding "debugging hell" at all costs. I honestly don't think that the lesson in this case is worth the potential time waste. This is only my opinion, I am definitely not telling anyone else here what to do.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-28 13:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (742 votes), past polls