[phobos] phobos commit, revision 2098

Jonathan M Davis jmdavisProg at gmx.com
Fri Jan 7 11:22:15 PST 2011


On Friday, January 07, 2011 07:14:08 Andrei Alexandrescu wrote:
> I took over Walter's style. By and large we're all professionals and we
> can adapt to most styles. A formal document could help but the current
> style if self-explanatory.

I just want it to be clear. If it's okay for me not to not always use full 
bracing, then I'm generally only going to use full bracing when the condition or 
the body is multi-line. But if we really want to require full bracing all of the 
time, then I'll code that way, even if I don't like it. That's part of working 
on a multi-person project. I've been stuck with style requirements that I don't 
like plenty of times before (e.g. pretty much every Java team I've ever worked 
on insists on having opening braces on the same line as the statement it goes 
with, which is _far_ worse IMO than requiring full bracing).

So, yeah. I just want the style requirements to be clear. If they aren't, then 
I'm likely to just code the way that I normally do, which seems pretty close to 
what's typically in Phobos at this point anyway.

- Jonathan M Davis


More information about the phobos mailing list