indent style for D
Jonathan M Davis
jmdavisProg at gmx.com
Sun Jan 29 03:43:29 PST 2012
On Sunday, January 29, 2012 12:34:22 Gour wrote:
> On Sun, 29 Jan 2012 12:21:35 +0100
>
> Alex Rønne Petersen <xtzgzorex at gmail.com> wrote:
> > Phobos generally uses 4-space indentation.
>
> That is mentioned in the style-guide, but I'm curious about bracing,
> iow, GNUstyle, K&R, ANSI...?
Phobos uses Allman: http://en.wikipedia.org/wiki/Indent_style#Allman_style
But everyone is free to format their code how they like. Personally, I've
never understood how anyone can stand anything other than Allman, but to each
their own, I suppose.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list