Interfaces vs Abstract Classes in Programming
Compare interfaces and abstract classes, explore inheritance solutions, and understand key differences in programming concepts. π»

ForlornU
7.5K views β’ Nov 14, 2023

About this video
Video Content:
----------------------------------
0:00 - Intro
1:12 - Pseudocode Problem
2:39 - Inheritance Solution
4:21 - Interface Solution
5:36 - Differences
6:08 - Polymorphism
6:50 - Unity Example
10:51 - Abstract Functions
11:59 - Outro
------
While still learning and working in Godot, I decided to scratch this topic of my bucket list of programming topics.
In this video I discuss the differences between interfaces and inheritance, and when I would use one over the other. The first part of the video explains those concepts with pseudocode-examples
The second part of the video focuses on a real unity3d game project and why certain classes use inheritance and why others use interfaces.
In talking about these differences I didn't mention the specifics of that project enough I feel, the link for the GitHub link so you can download and look through it yourself is down below. I might make another video just to go through it in more detail
I hope you learned something or gained some insight, thank you for watching!
Link to the unity-project:
https://github.com/ForlornU/Interfaces-Inheritance
You can buy me a coffee to make me code faster at:
https://www.buymeacoffee.com/forlornu
#csharp #unity #coding #learning #net #interfaces #abstract #inheritance #gamedev #gamedevelopment
----------------------------------
0:00 - Intro
1:12 - Pseudocode Problem
2:39 - Inheritance Solution
4:21 - Interface Solution
5:36 - Differences
6:08 - Polymorphism
6:50 - Unity Example
10:51 - Abstract Functions
11:59 - Outro
------
While still learning and working in Godot, I decided to scratch this topic of my bucket list of programming topics.
In this video I discuss the differences between interfaces and inheritance, and when I would use one over the other. The first part of the video explains those concepts with pseudocode-examples
The second part of the video focuses on a real unity3d game project and why certain classes use inheritance and why others use interfaces.
In talking about these differences I didn't mention the specifics of that project enough I feel, the link for the GitHub link so you can download and look through it yourself is down below. I might make another video just to go through it in more detail
I hope you learned something or gained some insight, thank you for watching!
Link to the unity-project:
https://github.com/ForlornU/Interfaces-Inheritance
You can buy me a coffee to make me code faster at:
https://www.buymeacoffee.com/forlornu
#csharp #unity #coding #learning #net #interfaces #abstract #inheritance #gamedev #gamedevelopment
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
7.5K
Likes
364
Duration
13:02
Published
Nov 14, 2023
User Reviews
4.6
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now