Re: CS discussion
| From: | Derick Rethans | Date: | Tue, 15 Jul 2003 13:04:00 +0000 |
| Subject: | Re: CS discussion | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-55@lists.php.net to get a copy of this message | ||
On Tue, 15 Jul 2003, Tobias Schlitt wrote:
>
> <zitiere wer="Lukas Smith">
> > Hi,
>
> Hi Lukas!
>
> > as a one time "spaces instead of tabs" hater .. here I am suggesting yet
> > more CS crap :-)
>
> > 1) control structures
>
> > I would like to extend this to also include a standard on how to break
> > up such structures across multiple lines
>
> I agree with you to given an example for that.
<snip nice example>
> But I do not really like the optics above. In my eyes code becomes pretty
> unreadable.
>
> My proposal would be:
>
<snip ugly example>
> I think thsi version is better readable than yours and does not break the
> curly brackets to defferent lines, than the 1-line-version.
>
> What you all think about that?
come one, that is ugly as hell...
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
International PHP Magazine http://www.php-mag.net/
-------------------------------------------------------------------------