Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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]
[Corion]: choroba: Well, at least the above is user-defined, not implicitly by Perl ;)
LanX globalization is evil! Lets Perlxit!
[stevieb]: "Yeah, let's ban dot in INC, but add glob to it!" LOL!!!

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2017-01-19 15:44 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (170 votes). Check out past polls.