in reply to Re: What is code readability?
in thread What is code readability?
It was pointed out to me by /msg that in my "How many arguments?" example above, I made two changes between the two examples, and it was postulated that only one of these, the additional whitespace, contributed to whatever extra clarity was evident.
By way of further investigation, in which of the following is the number of parameters clearest to your eyes?
- someFunction( someVariable, someOtherVariable, andYetAnotherVariable, andOneMoreFor, luck )
- some_function (some_variable,some_other_variable,and_yet_another_variable,and_one_more_for,luck)
- someFunction (someVariable,someOtherVariable,andYetAnotherVariable,andOneMoreFor,luck)
- some_function( some_variable, some_other_variable, and_yet_another_variable, and_one_more_for, luck )
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: What is code readability?
by itub (Priest) on Jan 04, 2007 at 01:54 UTC | |
Re^3: What is code readability?
by parv (Parson) on Jan 04, 2007 at 03:46 UTC | |
by BrowserUk (Patriarch) on Jan 04, 2007 at 05:45 UTC | |
by wfsp (Abbot) on Jan 14, 2007 at 09:43 UTC | |
by BrowserUk (Patriarch) on Jan 14, 2007 at 12:45 UTC | |
by Anonymous Monk on Sep 10, 2009 at 09:26 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2009 at 10:52 UTC | |
by jdporter (Paladin) on Jan 04, 2007 at 05:37 UTC | |
by parv (Parson) on Jan 04, 2007 at 06:16 UTC | |
| |
by Anonymous Monk on Jan 04, 2007 at 17:29 UTC | |
by runrig (Abbot) on Nov 13, 2012 at 23:30 UTC |
In Section
Meditations