read-only access

bearophile bearophileHUGS at
Wed Nov 3 04:36:53 PDT 2010


> Why make a syntactic exception for property? (I mean, if ever advantage/drawback ratio proved we simply cannot live without the feature.)

To avoid another true keyword, and for its marked value, now you may say "D has attributes and properties". @ attributes will be hopefully useful for other purposes too (see @disable and more).


More information about the Digitalmars-d-learn mailing list