Programming with Functions #10 - Composition over Inheritance
Channel: makingthematrix
Date: 2022-02-08

00:00 Preface
03:38 Inheritance: what the type is
09:49 Composition: what the type can do
14:07 Mocking frameworks
16:32 Code architecture with traits
18:42 Final words

This is the last video in the "Programming with Functions" series. Here I talk about inheritance and composition, but also mocks, and code architecure with traits. It turned out to be more goofy than I planned.  Brace for some lame jokes.
Sadly, there are a few glitches in the video. My laptop died just before I finished audio editing, I decided doing it again was not worth it, and so in a few moments the voice differs from what's on the screen. Please turn on subtitles to see corrections.

Wordpress: https://makingthematrix.wordpress.com/2022/02/08/programming-with-functions-10-composition-over-inheritance/
Medium: https://makingthematrix.medium.com/programming-with-functions-10-composition-over-inheritance-33bfbcf295c3?source=friends_link&sk=9a62bc7dd56564ef479a238e9d59b866

Android SDK: https://developer.android.com/reference/kotlin/android/
JavaFX: https://openjfx.io/
The architecture of Scala collections: https://docs.scala-lang.org/overviews/core/architecture-of-scala-213-collections.html
Mockito (Java, Kotlin, Scala): https://site.mockito.org/
Scalamock: https://scalamock.org/
MockAll (Rust): https://docs.rs/mockall

Ghosts In Your Mind by Darkroom (c) copyright 2021 Licensed under a Creative Commons Attribution Noncommercial Share-Alike  (3.0) license. http://dig.ccmixter.org/files/mactonite/63508