[dev] comments

Chuck Hagenbuch chuck at horde.org
Wed Sep 17 19:49:53 PDT 2003


Quoting Marko Djukic <mdjukic at horde.org>:

> // Some comment...
> // next line of comment.

I prefer this one for easy wrapping, readability, etc.

> eg. we have a mix at the moment:
> /* Some comment...
>  * next line of comment. */

This one is my next favorite.

> /* Some comment...
>    next line of comment. */

This one I don't like so much, especially inline, but you know what? As long as
we're consistent inside classes/files/blocks of code, I don't think this
matters so much.

> plus what's the wrapping supposed to be? i've been trying to keep it at 80,
> because i find it a bit annoying seeing them cut to random lengths, which
> they are mostly now...

75-80 is what I go for. Actually, I just let emacs wrap them for me, but that's
the goal.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the dev mailing list