DIP26: properties defined
Jonathan M Davis
jmdavisProg at gmx.com
Fri Feb 8 22:04:11 PST 2013
On Saturday, February 09, 2013 00:53:30 Robert wrote:
> Ok. Here finally it is:
>
> http://wiki.dlang.org/DIP26
I completely disagree with disallowing UFCS properties. Not only is it
outright required for arrays, but it's currently possible to turn anything
into a range (even types over which you have no control) simply by defining the
functions (including property functions) for it externally. And you could do
the same with most any API required by a template. If UFCS properties were
disallowed, then that would become impossible for any API which included
properties. That's unnecessarily restrictive.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list