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

Re^3: Code style question -- code review

by Discipulus (Abbot)
on May 21, 2021 at 06:55 UTC ( #11132828=note: print w/replies, xml ) Need Help??


in reply to Re^2: Code style question -- code review
in thread Code style question

Hello GrandFather

> I emphatically disagree!

:) as I told, I suppose is a matter of taste. I tend to use something like:

# complex clause if ( defined $thing and $thing > 3 and $thing <= 42 and 0 == $thing % 2 ) # ternary print (defined $thing and $thing > 0) ? $thing : 'not';

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-09-24 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?