CompuServe Messages

C coding style

    25-Jul-89 12:00:36
Sb: #58735-C coding style
Fm: Richard Rae/SYSOP 76703,4253
To: Don Curtis/SYSOP 76703,4321
You know, this is really interesting. I wonder what the preferences say about our psyches which we can't see… You prefer not to have both opening and closing braces on seperate lines, cited as one reason the wasted vertical space. I, on the other hand, wouldn't want to indent five because of the wasted HORIZONTAL space. I'm always running out of room across the screen and/or printed page (though I agree that it's more difficult to follow code which doesn't fit all on one screen). Sometimes I wish I had learned K&R standard; I actually don't know where I picked up my style. But I'm happy with it and, unless I decide to put in the effort to change, I'm stuck with it. So far it hasn't caused TOO many problems; when that starts to be the case, it's time to change my spots (er, braces! 8) Rick