C Indentation and Commentation Survey
Owen D. Beckley
owen at uw-june
Thu Feb 28 04:13:34 AEST 1985
[... I Know What I Like (In Your Wardrobe) ...]
Vote for your favorite block indentation and "end" comments!
------------------------------------------------------------
I'm planning to modify one of the several c modes for emacs to
indent and add "end" comments the way I like them. However, I'm
also interested in what you think.
Please vote for one numbered statement and one lettered statement.
Please respond by mail; do not post to the net!
I will post a summary to the net.
Block indentation:
1) if (a = b) {
statement1;
statement2;
}
2) if (a = b) {
statement1;
statement2;
}
3) if (a = b)
{
statement1;
statement2;
}
4) if (a = b)
{
statement1;
statement2;
}
5) if (a = b)
{
statement1;
statement2;
}
6) other, please specify
"End" comments:
A) if (a = b)
{
statement1;
statement2;
} /* if */
B) if (a = b)
{
statement1;
statement2;
} /* end if */
C) none
D) other, please specify
-----------------------------------------------------------------------------
"And I'm hovering like a fly, waiting for the windshield
on the freeway."
Peter Gabriel from "The Lamb Lies Down On Broadway"
Owen Beckley |\
University of Washington Computer Science | \
owen@{uw-june.arpa|washington.arpa} /| \
{ihnp4|decvax}!uw-beaver!uw-june!owen /_|___\
\_____/
More information about the Comp.lang.c
mailing list