On 22/02/11 09:40, Dotan Cohen wrote:
On Tue, Feb 22, 2011 at 16:15, Robert Cummings<rob...@interjinn.com>  wrote:
If you switch to vertically aligned braces you will have an easier time
matching up open and close braces...

if (something)
    // Code here

It's trivial to match using this style since you only need to scan one axis.

That bracing style drives me nuts! But I have no problem scanning a
single axis for the close brace and any statement, be it an if, while,
switch, or something else.

Well the way you do it, drives me nuts  :)

Morale of the story, do whatever *you* are most comfortable with..personally I indent as well, has it's downsides I admit, but it's what I've done for the last 20 years and I'm comfortable with it.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to