coding style, continuing education
Richard Kenner
kenner@vlsi1.ultra.nyu.edu
Fri Jan 19 02:45:00 GMT 2001
with a thoroughly misleading comment above it (is that what the entire
conditional does? no, it's what the first clause does),
That raises an interesting issue: where *does* the comment for what the first
clause does go? I've been putting it before the entire statement, but,
as you point out, that's not ideal. Should we be doing something like:
/* This tells when we need to .... */
if (
/* We need to if ... */
<conditional expression>
/* ... or if ... */
<next conditional expression>
More information about the Gcc
mailing list