DIP26: properties defined

FG home at fgda.pl
Sat Feb 9 03:43:14 PST 2013


On 2013-02-09 12:32, Robert wrote:
> Has anyone actually read the DIP?
>
> Simply don't call it property.

Fine for getters but this time it will break things for setters:

     @property void front(T)(T[] arr, T elem) {...}

and either all code with assignments would have to be changed
or assignments remain allowed for functions -- neither is good.



More information about the Digitalmars-d mailing list