[dev] line wrapping

Jan Schneider jan at horde.org
Mon Jun 16 15:59:09 UTC 2008


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> I'd like to propose letting line-wrapping changes like this:
>
> -            return Horde::callHook('_whups_hook_get_attributes',
> $type, 'whups');
> +            return Horde::callHook('_whups_hook_get_attributes', $type,
> +                                   'whups');
>
> go. I don't know how many horde developers or people who read horde  
> code have fixed 80-column screens now, but to move, moving 9  
> characters to a new line does not increase overall code readability.  
> Thoughts?

I do, though admitted only to comply with the CS. I still think it  
*does* increase readability, especially when the code otherwise wraps  
on the screen like in the quoted code above.
But I'm fine with a more relaxed CS, like an optimal line length of 80  
chars and a maximum line length of 90, or 100.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list