[Issue 8635] Allow postfix expressions for new
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 19 12:20:50 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8635
--- Comment #14 from bearophile_hugs at eml.cc 2013-01-19 12:20:48 PST ---
(In reply to comment #13)
> Is C# doing it really a compelling case?
Generally C# is a well designed languages. But in this case it's not a matter
of copying C#.
In D I often have had to write:
(new Foo()).bar()
But that's not nice, because in D you are used to use UFCS:
new Foo().bar()
So it's not a big thing, but (unless it clashes with something else I am
unaware of) it's a nice little improvement to have.
--
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