[Issue 10862] Assignment inside if condition still sometimes accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 21 16:31:28 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10862



--- Comment #17 from Andrei Alexandrescu <andrei at erdani.com> 2013-08-21 16:31:26 PDT ---
(In reply to comment #16)
> > no space after '(' or before ')' - evar
> 
> On that, we agree, but it's a subjective thing. I've worked with folks who
> always do that and much prefer it.

Clearly. There is one argument though - in literary and mathematical use a
whitespace can never follow a ')' or precede a ')'. The counter-argument is
that program formatting rule does not need to necessarily follow literary or
math rules, to which the counter-counter argument is it's better to not invent
gratuitous departures, either.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list