On Fri, 2006-04-28 at 18:18, Chris W. Parker wrote: > 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!) You know what they say... "Job security through code obscurity!" And no, I don't know who "they" are :) I'm in the vertically aligned brace camp. It's just cleaner when the braces line up because you can pick out the beginning and end of the block easier... doubly so when you have a long conditional that wraps... KISS baby! > 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. Good to see you again! :) Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php