For my money, you either design for inheritance (and this is not an easy task, folks--it requires a tremendous eye for possibility and detail)--or it needs to be prevented.Again, this is because for all the mechanisms in Java-like languages, they still do not support the reality of software development. Developers get into trouble, and rather than make the developer's life easier, the language designer introduces another kind of straightjacket.
The problem is the straightjacket, not the lack of ten kinds of straighjackets.
No comments:
Post a Comment