Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Logical expression style

by rayg (Initiate)
on Jul 15, 2002 at 00:41 UTC ( [id://181670]=note: print w/replies, xml ) Need Help??


in reply to Logical expression style

i prefer:
if (A && B && C ) { # ... }

Replies are listed 'Best First'.
Re: Re: Logical expression style
by Anonymous Monk on Jul 15, 2002 at 01:28 UTC
    Thats close to what i do too:
    if ( AA && ( BB || ( CC && DD ) ) ) { # ... }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-06-17 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.