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

Jonathan M Davis jmdavisProg at gmx.com
Thu Jan 24 19:26:00 PST 2013


On Friday, January 25, 2013 11:09:15 kenji hara wrote:
>    That is more serious than (a). If we adopt this rule, we will *really*
> get lost the way to distinguish property functions and raw data fields.
> (Note that: In current typeof(foo) already returns int. So AddressExp is
> only one way to getting (normal|property) function information by its
> type.) From the view of meta-programming, I think this makes a serious flaw.

We could add a __trait which detected whether a field was an actual variable or 
not.

- Jonathan M Davis


More information about the Digitalmars-d mailing list