D style guide
Jonathan M Davis
jmdavisProg at gmx.com
Mon Jun 17 14:11:31 PDT 2013
On Monday, June 17, 2013 21:14:15 Joseph Rushton Wakeling wrote:
> On 06/17/2013 08:58 PM, Ali Çehreli wrote:
> > I have no idea why that style have evolved but I like it. :) The reason
> > may be>
> > to distinguish from function calls:
> > foo(expr)
> >
> > if (expr)
> >
> > I can't think anything else.
>
> Makes sense to me, and I do like these kinds of visual distinction. :-)
Whereas, they make no sense to me. if is a keyword, so the difference is quite
clear, and IMHO the space adds useless, visual noise. But code formatting is
an area where reasonable people frequently disagree.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list