#Scala - Your First Programming Language - Part 17 - Traits and their superpowers
DevInsideYou
In this video we will learn about the majority of use cases for traits - interfaces on steroids. We will learn how to add functionality to existing classes, even the ones whose code we cannot access! We will learn how to modify behavior with the "Stackable modifications" pattern, which can also be used to intercept behavior. Most importantly we will learn about linearization - a solution for the issues which commonly arise with multiple inheritance and diamonds.
The "Effective Java" book is here: https://www.amazon.com/Effective-Java-3rd-Joshua-Bloch/dp/0134685997
This video is part of the following playlist: https://www.youtube.com/playlist?list=PLJGDHERh23x-YBJ8LmYU_IGBFflvsKfLu
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Twitter: https://twitter.devinsideyou.com Github: https://github.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#trait #tutorial ... https://www.youtube.com/watch?v=T-mw35LY_Ms
390667174 Bytes