Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: 20 most important Perl Best Practices

by runrig (Abbot)
on Aug 22, 2012 at 20:54 UTC ( #989142=note: print w/ replies, xml ) Need Help??


in reply to 20 most important Perl Best Practices

13) Use unless and until as little as possible.

I wouldn't say that. I would say "Don't use unless with elsif/else blocks". That's just ridiculous.

And don't use it in combination with and/or logic because it requires yet another mental step of negation at the end.


Comment on Re: 20 most important Perl Best Practices

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-09-22 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls