Re: Conding standards, one true brace?
| From: | Martin Jansen | Date: | Thu, 17 Jan 2002 14:21:56 +0000 |
| Subject: | Re: Conding standards, one true brace? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3961@lists.php.net to get a copy of this message | ||
On Wed, 16 Jan 2002 00:52:41 -0500, Sebastian Delmont wrote:
>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.
As you can probably guess, we've had this discussion before. We
decided to leave the coding standards as they currently are. For
the details about the discussion, see the archives.
- Martin