Kotlin Code Reuse: Composing like you're Inheriting

Описание к видео Kotlin Code Reuse: Composing like you're Inheriting

The classic Design Patterns book introduced the principle of favoring composition over inheritance. In this video, we'll explore what the authors meant by this principle, we'll consider the characteristics that are affected by it, and we'll look at an underrated Kotlin feature that can change our perspective on it!

✨ New to Kotlin? Start your journey here: https://typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! https://book.typealias.com/

🚀 Get the inside scoop on everything I'm working on - join my new email newsletter!
Sign up here: https://newsletter.typealias.com/

📘 Chapter 13 - Introduction to Class Delegation
https://typealias.com/start/kotlin-de...

🎥 Got a question for the livestream?
https://forms.office.com/r/s9ZtVNUhRB

🎞️ Chapters in this video
00:00 Introduction
00:47 Inheritance
04:02 Composition
08:20 Trade-Off Considerations
11:00 Composing like you're Inheriting
12:14 Limitations
13:20 Wrap-up

Комментарии

Информация по комментариям в разработке