Quote:
So I'm assuming that when coding in Delphi, you use:
. . .
You are correct.
And of course, by "hate" I simply mean that it drives ME nuts, not that I think other people shouldn't do it. I'm simply not used to it and therefore have difficulty reading/writing code that way, but I don't believe my way is superior.
Mcconnell suggests that K&R is good because it keeps the starting brackets part of the control structure and Whitesmiths is good because it makes the brackets part of the block. He reasons that either of these options is reasonable so that your code is formatted to properly illustrate logic flow. Allman/BSD is a no, no because the brackets are displaced from both the block and the logic statement. Personally, I don't feel that you need to take it that far (and that he's getting a little "religious")- as long as your blocks are intedented and you do it consistently you've met the major objectives.
_________________________
-Jeff
Rome did not create a great empire by having meetings; they did it by killing all those who opposed them.