Poll: do you use @property semantics?

Sönke Ludwig sludwig at outerproduct.org
Wed Sep 28 18:47:24 UTC 2022


I'm using @property a lot of places, in the hope that one day it would 
receive a full set of useful semantics - and also as a way to add a 
distinction between "verb" functions and simple getters/setters. There 
are also definitely some places where the current semantics are in effect.

IMO, the possible `writeln = "foo";` syntax, on the other hand, results 
in rather surprising semantics, and if that wouldn't result in a ton of 
breakage, I'd rather see that gone.



More information about the Digitalmars-d mailing list