Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Style: expr or warn vs. if..warn?

by Old_Gray_Bear (Bishop)
on Jul 09, 2004 at 23:19 UTC ( [id://373289]=note: print w/replies, xml ) Need Help??


in reply to Style: expr or warn vs. if..warn?

Opinion -- both are equally clear at first glance.

I personally don't like the "Action unless Condition" form, it's too easy to eye-skip over the the second clause, partiiculary if the 'unless' is on the next line. I know that the complier/interpreter will fold the various constructs into an single "action if condition" form; but I tend to look at the condition as the more important part of the statement, so I prefer it first. Tastes Differ.

----
I Go Back to Sleep, Now.

OGB

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found