|
Another way for libraries to have more rights than end developers. I'm not sure that is nice. I already have problems in principle with the protected keyword, that encourages subclassing instead of encapsulation. This has the potential to be a lot worse... Only the "approved" classes can use the fast way, for example in the document class, the insert(ElementSpec[] a) method, that is currently protected (and that pisses me off also) could be written as private. |