[dev] comments

Jon Parise jon at horde.org
Thu Sep 18 15:39:18 PDT 2003


On Thu, Sep 18, 2003 at 01:30:45AM +0200, Marko Djukic wrote:

> this could be a bit anal, but what should be our style of writing comments, the
> ones that are amongst the code, as opposed to function/class headers etc.
 
I've also aimed for consistency:

    /* This is a single line comment. */

    /*
     * This is a multline comment.
     */

And when I "comment out" lines of code for temporary debugging
purposes, I use:

    #lineOfCode();

-- 
Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)


More information about the dev mailing list