@property Incorrectly Implemented?

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 12 02:25:40 PDT 2016


On Sunday, 11 September 2016 at 12:02:29 UTC, Ethan Watson wrote:
> But what if our @property function increments another variable 
> inside a class whenever you access it? That's pretty dangerous 
> if you start treating the property as an actual type instead of 
> a function/delegate.

You mean your serialization library will break if @property 
changes behavior?


More information about the Digitalmars-d mailing list