Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: What is code readability?

by Anonymous Monk
on Jan 04, 2007 at 17:29 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://592986]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-01-19 22:38 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (223 votes). Check out past polls.