lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] CodingStyle update (was Re: URL to the latest /proc/driver/microcode)
James Manning wrote:
> Good point Tigran... since it's officially preferred, it would appear to
> be a good candidate for CodingStyle inclusion. What do you think?

IMHO, you are absolutely right.

> +struct struct_type foo = {
> + field1: initializer1,
> + field2: initializer2,
> + field3: initializer3,
> +}
> +
> +The trailing comma on the last line allows for a homogenous look and easy
> +rearrangement (eg for later blocking of some members in an #ifdef).

Thanks - I always wondered if it makes any difference to put the last
comma or not.

Regards,
Tigran.

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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.104 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site