@property - take it behind the woodshed and shoot it?

Jonathan M Davis jmdavisProg at gmx.com
Thu Jan 24 11:14:39 PST 2013


On Thursday, January 24, 2013 18:54:00 David Nadlinger wrote:
> On Thursday, 24 January 2013 at 17:51:32 UTC, Andrei Alexandrescu
> 
> wrote:
> > No. The complications come from the fact that (a) nobody could
> > agree what should be a @property and what shouldn't; (b)
> > @property adds noise for everybody for the sake of a corner
> > case (functions returning delegates); (c) the @property
> > discipline failed to align itself in any way with better code
> > quality.
> 
> The simple(r) explanation is: The current *implementation* is
> broken.

Exactly. Most of the problems with @property stem from the fact that it's not 
implemented properly, particularly with regards to the -property flag.

- Jonathan M Davis


More information about the Digitalmars-d mailing list