Re: How to write code: how wrong am I?

From: Date: Tue, 22 Feb 2011 16:40:09 +0000
Subject: Re: How to write code: how wrong am I?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-311526@lists.php.net to get a copy of this message
On Tue, Feb 22, 2011 at 16:15, Robert Cummings <robert@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. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com

« previous php.general (#311526) next »