RE: PHP Standard style of writing your code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch <mailto:ceo@xxxxxxxxx>
    on Monday, April 24, 2006 11:50 PM said:

> So no matter what was actually typed, *I* would see:
> 
> function foo ($x) {
>   //body
> }
> 
> but some heretic who doesn't know any better would see:
> function foo($x)
> {
>   //body
> }
> 
> Now *THAT* would be a feature worth paying for in an IDE! :-)

Setting aside the fact that you're completely wrong about your preference... ;)

What, in your mind, is the advantage to putting the opening brace on the same line as the function call, logic statement, etc.? (Btw, this is a serious question!)



Chris.

p.s. Yes I'm still alive. Just haven't been able to work on any web related stuff for a long time here are work. :( The downside of being the IT department.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux