Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: What is code readability?

by wfsp (Abbot)
on Jan 03, 2007 at 12:37 UTC ( [id://592749]=note: print w/replies, xml ) Need Help??


in reply to Re: What is code readability?
in thread What is code readability?

My take.

Vertical white space rules!

some_function ( if_it_wasnt_for, bad_luck, I_wouldnt_have, any_luck_at_all, ) or die "handy place for your error msg\n";
Short names, long names, I don't care. Just make them meaningful. A few moments spent choosing a good name can save hours of misunderstanding (even your own) code later.

Code reuse is a good thing. I like variable name reuse too. :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-24 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found