Core skills
The Workshop
A garage that builds vehicles. Decide where every behaviour belongs and see why inheritance and composition exist. Object-oriented design without a single lecture.
2 levelsAbout 11 min
What you will practise
- Inheritance
- Base class
- Composition over inheritance
- Interfaces
- DRY (don't repeat yourself)
- Class hierarchy
- Mixins
- Traits

