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

bearophile bearophileHUGS at lycos.com
Thu Jan 24 05:01:43 PST 2013


Jacob Carlborg:

> It would break tons of code.

How much work does it take to change that makes and compilation 
scripts to compile that code using a "-noproperty" switch?

I think this silly fear of breaking user code was one of the main 
causes of the failure of @property in the first place. If you 
introduce a new feature, then you need to introduce it cleanly 
since the beginning, otherwise you will make a mess. So future D 
feature must be introduced in a much more clean way in future, or 
not introduced at all.

Bye,
bearophile


More information about the Digitalmars-d mailing list