Re: Little question about switch CS
| From: | Justin Patrin | Date: | Thu, 13 Jan 2005 23:19:54 +0000 |
| Subject: | Re: Little question about switch CS | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-2323@lists.php.net to get a copy of this message | ||
On Thu, 13 Jan 2005 13:36:47 -0500, Daniel Convissor
<danielc@analysisandsolutions.com> wrote:
> On Thu, Jan 13, 2005 at 12:18:22PM +0000, Helgi ?ormar wrote:
> >
> > http://pear.php.net/manual/en/standards.control.php
> > anyone, am I the
> > only one that things placing a extra new line after breaks is just quite
> > unnecessary ?
>
> Look closer. There's only one line there.
>
> One tweak should be made: the last "break;" is a waste.
>
Except that keeping it is 1) consistent and 2) makes it easier to make
sure that cases added later don't break anything.
--
Justin Patrin