-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Code design based heavily on inheritance has become a bit unfashionable over the years. One of its pitfalls is that code-wise sensible abstractions are not necessarily related to real-world ones. Examples: Is a Square a special case (translating to child class) of a Rectangle or the other way round? Is a Penguin a Bird or a Fish? I would suggest that we add a challenge (or even a section) about this at the end of the inheritance chapter.
Likely related to #14.
Metadata
Metadata
Assignees
Labels
No labels