Quote:
Originally Posted by cbk1994
The problem with code readability is that people don't agree what is readable.
PHP Code:
function foo( bar ) { doSomething( pi ); }
is perfectly readable for myself and Jave (who also scripts on Vesporia, albeit lightly). However, most think that's hard to read 
|
The only occasion I add ugly spaces like that, is if I have an array within two
(), such as:
PHP Code:
randomFunction( { "Foo", "Bar", "Baz" } );
EDIT: Actually, when I scan through my scripts, I haven't done that for a looooong time. It seems I do like this:
PHP Code:
randomFunction({ "Foo", "Bar", "Baz" });