Thread: Curiosity...
View Single Post
  #4  
Old 08-12-2008, 04:32 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by cbk1994 View Post
The problem with code readability is that people don't agree what is readable.

PHP Code:
function foobar )
{
  
doSomethingpi );

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" }); 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote