C Indentation Survey Results (not long...)
w linke
wfl at maxvax.UUCP
Thu May 2 07:37:44 AEST 1985
>I agree 100% that keeping to a single style (at least within each
>program) is more important than the specific choice of style. But
>this does *not* imply that the specific choice of style is unimportant.
I agree also.
>To maximize readability, use what your reader is familiar with.
The implicit assumption here is that there are no OBJECTIVE differences
in the readability of programming styles (at least, among the styles being
discussed here.) If this is true, then there should be very little
"head-scratching" involved with reading an alternate style. After all,
code is not like natural language - no matter what the style, you ALWAYS
have to think about the individual tokens you're reading in order to
understand it.
On the other hand, if there are objective readability differences between
styles (as I believe) then the decision as to what style to use should be
made on the basis of their merits, and certainly not on the basis of
tradition or conformity with a group. ("Its a good idea, but nobody
else does it that way...")
More information about the Comp.lang.c
mailing list