Composition Vs Inheritance Why You Should Stop Using Inheritance
IMPORTANT: 1 Year Free Hosting: Use code KYLE for an additional 50 Object oriented programming has been around for a very long time and is one of the most popular programming paradigms, especially in academic curriculum. Unfortunately, pure object oriented programming is not the best solution to many problems. This is why in certain industries, like game development, the idea of composition has risen in popularity to overtake inheritance from object oriented programming. In this video I will explain the differences between inheritance and composition through one example program. I will also go in depth about the problems with using inheritance that composition solves. This was an eye opening concept for me when I first learned about it, and I. .., WebDevSimplified, webdevsimplified, js, javascript, jstutorial, javascripttutorial, inheritancevscomposition, compositionprogramming, inheritanceprogramming, objectorientedprogamming 20200104 nnwD5Lwwqdo
|