Re: Coding Style

From: adrian (jimbud@lostland.net)
Date: Mon Jan 22 2001 - 22:56:19 EST


On Mon, 22 Jan 2001, Mark I Manning IV wrote:

> Ralf Baechle wrote:
> >
> > On Sun, Jan 21, 2001 at 03:00:05AM +0100, Matthias Andree wrote:
> >
> It is alot neater tho :P~
>
> // even for multi line comments
> // no visual clutter over there -->

/*
 * I tend to find standard C comments easier to read. They stand out,
 * especially for multiple lines (although I always try to put the :end:
 * on a separate line for clarity).
 */

int function(int x)
{
        /* Bleh. Comments take up space.
         */
        function body;
}

Regards,
Adrian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:26 EST