Old comments about Java

Adam D. Ruppe destructionator at gmail.com
Sat Apr 23 18:33:03 PDT 2011


bearophile wrote:
> Doing foo.x should be defined to be equivalent to foo.x(), with
> lexical magic for "foo.x = ..." assignment.
> [This is fixed/done in Scala language]

And in D: that's exactly how our properties are implemented right now.

> [This last idea looks like C# extension methods]

And like UFCS, like we have on arrays.


More information about the Digitalmars-d mailing list