should protected imply package?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Sep 24 10:38:31 PDT 2009


In Java, "protected"-level protection implies package-level protection 
(see e.g. 
http://java.sun.com/docs/books/tutorial/java/javaOO/accesscontrol.html). 
Should we copy that behavior in D, or take advantage of the package 
keyword and require it as in "package protected"?


Andrei



More information about the Digitalmars-d mailing list