View Single Post
Old 08-21-2008, 04:12 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
haha, only amongst programmers can this frikking argument occur!!!

personally, I'm a tab man, and as soon as I see code with spaces for indentation, be it 2 or 4 or whatever, I find what is the tab equivalent and search all/replace.

Each to their own.

Now should opening braces go on a new line or follow on the same line of the code they open?

That is worth an argument......

I personally open braces on the same line that they open as I treat them as a colon or semi colon - they are following on from what was just said, but is in a new context. Those poooofters that just open braces on a new line can't follow the code and so need to visualise where they've opened a brace to be able to close it.

:P
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote