Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: What is code readability?

by Anonymous Monk
on Jan 04, 2007 at 17:29 UTC ( [id://592986]=note: print w/replies, xml ) Need Help??


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

some_function(some_variable, some_other_variable, and_yet_another_variable, and_one_more_for, luck);
...getting better...
some_function( filename => $some_variable, address => $some_other_variable, amount => $and_yet_another_variable, phone_num => $and_one_more_for, diameter => $luck );

Replies are listed 'Best First'.
Re^5: What is code readability?
by runrig (Abbot) on Nov 13, 2012 at 23:30 UTC
    And that bites when you want to cut the first or last, or paste another first or last, argument. I prefer the args on separate lines, and indenting a normal (4 or whatever the standard) number of spaces.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2025-07-16 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.