|Just another Perl shrine|
Re^4: What is code readability?by BrowserUk (Pope)
|on Jan 04, 2007 at 05:45 UTC||Need Help??|
Ug :) I really hate that. I see no benefit in spaces both sides of the commas, or breaking the open paren away from the function name. And if you have to break the params across lines, at least balance their lengths :)
That's not so bad for simple (void) calls as, but when you're retrieving data and checking you get something like
It's just a mess.The best I've come up with for this is
Which ain't great, but is better than most alternatives to my eyes.
And much better still is
With the point being that whilst ths abbreviated variable names don't immediately make much sense, by the time a programmer has got familiar enough with the code to consider making changes, they will.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.