[Issue 8635] Allow postfix expressions for new

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 9 18:31:16 PDT 2012


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



--- Comment #6 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-09 18:31:47 PDT ---
I have absolutely no problem with this as long as there are no side effects. I
just had figured that there was a valid reason why the parens were required.
It's often the case that something will seem like it should work and doesn't
but has a very good reason for why it doesn't, even if it looks fine at first
glance.

> Also, it's how C# (and probably Java too) does it.

Given D's increased complexity, it wouldn't surprise me at all if D couldn't do
it when they could, but if it can, it definitely should as well. I think that
it's the syntax that pretty much everyone tries at first - only to find that it
doesn't work.

-- 
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