|
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
|