RE: [PEAR-DEV] Conding standards, one true brace?
| From: | Lukas Smith | Date: | Wed, 16 Jan 2002 09:14:25 +0000 |
| Subject: | RE: [PEAR-DEV] Conding standards, one true brace? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3952@lists.php.net to get a copy of this message | ||
I also found this to be inconsistent.
But on a more general note, we recently had some discussion about the
CS.
Did we have any results? :)
Best regards,
Lukas Smith
smith@dybnet.de
_______________________________
DybNet Internet Solutions GbR
Alt Moabit 89
10559 Berlin
Germany
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de
_______________________________
> -----Original Message-----
> From: Sebastian Delmont [mailto:sdelmont@zonageek.com]
> Sent: Wednesday, January 16, 2002 6:53 AM
> To: pear-dev@lists.php.net
> Subject: [PEAR-DEV] Conding standards, one true brace?
>
> First, let me introduce myself... I'm new to PEAR, but I've been
working
> with PHP for several years, doing all kinds of development, from quick
> hacks
> to very large sites.
>
> Anyway, since I've missed most of the discussion, maybe I'm touching a
> point
> that has been discussed to death before. If you have, please disregard
my
> comments (but if you don't mind, reply explaining them :-)
>
> While control structures use the "open brace in the same line" format,
> function definitions use the "open brace on next line, no indent" (or,
as
> called on the docs, "one true brace")
>
> Why not use a single style for both? Preferably, the "same line" one.
>
> Regards,
> Sebastian Delmont
>
>
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail:
php-list-admin@lists.php.net