@property needed or not needed?
Adam D. Ruppe
destructionator at gmail.com
Tue Nov 20 10:13:35 PST 2012
Just a quick thought... it's not like a = 10 has no way to
trigger a function anyway.
opAssign does it. Is that evil? This discussion kinda reminds me
of some of the C++ arguments over operator overloading. They
argue overloaded operators are evil because they don't look like
function calls... but I think most of us agree that is generally
useful.
D's properties of course aren't exactly the same but I think
there's some similarities there that matter.
More information about the Digitalmars-d
mailing list