Composition over Inheritance Explained by Games!

Описание к видео Composition over Inheritance Explained by Games!

Let's explore the principle of Composition over Inheritance in the context of Object-Oriented Programming (OOP) and... our favourite 8-bit video games!

This video uses metaphors and analogies from retro video games to explain the concepts of Composition and Inheritance. It highlights the advantages of Composition and why it may be a more beneficial approach. The video illustrates the principle of Composition over Inheritance, demonstrating how Composition can lead to more flexible, maintainable, and scalable code.


*What You'll Learn:*
The key differences between Inheritance and Composition.
Benefits of using Composition over Inheritance in your projects.
How to be pragmatic when considering Composition over Inheritance

---

Website: https://acairns.co.uk
Twitter:   / andrewcairns  
Patreon:   / metaphoricallyspeaking  
Discord: https://acairns.co.uk/discord
Substack: https://acairns.substack.com

---

*Thanks:*

Thanks to ‪@ScottYuJan‬ and Mathias Verraes from ‪@aardling_eu‬ for allowing me to use their content within the video.

Scott's video:
   • Organizing my Drawer with 3D Printing  

Tweets from Mathias Verraes mentioned in the video:
  / 1153630515104276480  
  / 1153630516756852738  

*Timestamps:*

0:00 Inheritance
2:11 Composition
3:18 Composition over Inheritance
7:14 When to use Inheritance?

#Software #Programming #Coding #SoftwareDesign #SoftwareDevelopment #OOP#ObjectOrientedProgramming

Комментарии

Информация по комментариям в разработке