[Issue 7176] Lambda => syntax for function and methods too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 20 10:22:46 PDT 2012


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



--- Comment #14 from Jacob Carlborg <doob at me.com> 2012-07-20 10:22:44 PDT ---
(In reply to comment #12)

> Yes, or, quite often I want to write a trivial getter but a nontrivial setter.
> So I'd like just the getter for free. Also, when the interface is going to be
> exported, even a trivial property should often be a property instead of a
> field, to avoid breaking binary compatibility if one changes one's mind and
> wants to make it a property later (actually this even affects source
> compatibility--a property can't be passed by reference).

Other good points.

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