filmov
tv
Prefer Composition Over Inheritance - A Real-World Example
Показать описание
Prefer Composition Over Inheritance is an important tenet of Object oriented programming, but what's so bad about Inheritance? In this video, we'll explore some of these problem with an example of a real-word scenario and then also look at a solution to the problem using Composition.
Source for the Visual Studio Solution discussed in this video:
Bookmarks
00:00 Intro
00:18 What are we learning Today?
01:15 The Real Issue with Inheritance
02:08 Reasons Not to Use Inheritance
02:58 My Opinion On Inheritance
03:32 The Example Code/Project
03:48 Not A Big Fan of Libraries/Reuse
04:28 The Genesis of this Video
05:06 The Rule Of Thirds
06:46 Problems with Libraries/NuGets
08:53 The Root of the Problem
14:03 What's the Solution?
19:07 The Solution Explained
20:42 Visual Studio Solution Walkthrough
22:41 The Specialized Classes
24:22 The Compositing ConfigurationProvider
24:51 Reuse through Composition
27:38 Composition vs Aggregation
Source for the Visual Studio Solution discussed in this video:
Bookmarks
00:00 Intro
00:18 What are we learning Today?
01:15 The Real Issue with Inheritance
02:08 Reasons Not to Use Inheritance
02:58 My Opinion On Inheritance
03:32 The Example Code/Project
03:48 Not A Big Fan of Libraries/Reuse
04:28 The Genesis of this Video
05:06 The Rule Of Thirds
06:46 Problems with Libraries/NuGets
08:53 The Root of the Problem
14:03 What's the Solution?
19:07 The Solution Explained
20:42 Visual Studio Solution Walkthrough
22:41 The Specialized Classes
24:22 The Compositing ConfigurationProvider
24:51 Reuse through Composition
27:38 Composition vs Aggregation
The Flaws of Inheritance
Composition Over Inheritance
Composition over Inheritance Explained by Games! #programming
Composition over Inheritance
Only Use Inheritance If You Want Both of These
Composition Is Better Than Inheritance in Python
Why Favor Object Composition Over Class Inheritance? A Deep Dive
Comparing Object Composition Vs. Class Inheritance
Composition Vs Inheritance - Why You Should Stop Using Inheritance
Prime Reacts: The Flaws of Inheritance
Composition over Inheritance [Object Oriented Programming]
iOS DEV: Why prefer composition over inheritance in this case? | ED Clips
Understanding Composition Over Inheritance
Prefer Composition Over Inheritance in Object-Oriented Design
Python OOP Composition Clearly Explained
Kotlin Code Reuse: Composing like you're Inheriting
Prefer Composition Over Inheritance - A Real-World Example
019 Favour Composition over Inheritance
Should I always use composition over inheritance?
Clean iOS Architecture 101: Composition over Inheritance
Favor composition over inheritance! #shorts
Composition over Inheritance in Apex
Why you should choose composition over inheritance | Javascript OOP Tutorial
Programmatic Comparison: Inheritance vs Composition
Комментарии