[phobos] Initial Phobos style guide proposal

Steve Schveighoffer schveiguy at yahoo.com
Thu Mar 31 11:56:02 PDT 2011





----- Original Message -----
> From:Jonathan M Davis <jmdavisProg at gmx.com>
> To:Steve Schveighoffer <schveiguy at yahoo.com>; Discuss the phobos library for D <phobos at puremagic.com>
> Cc:
> Sent:Thursday, March 31, 2011 1:25 PM
> Subject:Re: [phobos] Initial Phobos style guide proposal
> 
> On 2011-03-31 09:10, Steve Schveighoffer wrote:
> > Maybe the comment style is bikeshedding, but definitely the placement of
> > comments always starting on the leftmost column affects the ability to
> > read the code for me.
> 
> I would point out that the example code needs to go all the way to the left, 
> otherwise the examples get indented in the generated docs.

I would classify that as a bug in ddoc.  Indentation of an example should be relative to the opening comment indentation.

-Steve



      


More information about the phobos mailing list