Why is the 'protected' attribute considered useless?

Dicebot m.strashun at gmail.com
Wed Jan 30 03:01:44 PST 2013


On Wednesday, 30 January 2013 at 03:38:39 UTC, Chad Joan wrote:
> I've read more than once now that 'protected' is considered 
> useless in D.  Why is this?

In my opinion this is because implementation inheritance is not 
idiomatic for D and lot of people may never encounter practical 
need to use one. Still needed when really needed though.


More information about the Digitalmars-d-learn mailing list