For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > January 2005 > Re: [PEAR-QA] Little question about switch CS









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] Little question about switch CS
Arnaud Limbourg

2005-01-13, 3:58 pm

> Hi guys,
>
> 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 ?
>
> I think most of the devs only use 1x new line, it's the most cleanest
> IMHO, at least I think we should allow people to choose between 1 or 2x,
> because if the switch sentence is a small one then it's okey to have 1x
> new line, but if people are stuffing a lot of stuff in each case then it
> makes sense to use 2x new lines.
>
> So is anyone against changing this ? What I'm proposing will keep BC
> (even tho those things are less of a issue in regards to CS ;)).


It makes sense to change it.

Arnaud.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com