Composition over Inheritance
Jump to navigation
Jump to search
An important design pattern is that inheritance as a programming mechanism can cause more code maintenance troubles for the long run.
For example, CodeAesthetics mentioned that in one video[1]. Moreover, Web Dev Simplified also has a video[2] on this subject.
References
- ↑ Prefer Composition Over Inheritance - What Does It Mean?. local page: CodeAesthetic. Dec 22, 2022.
- ↑ Cook, Kyle (Jan 5, 2020). Composition Vs Inheritance - Why You Should Stop Using Inheritance. local page: Web Dev Simplified.
Related Pages