The Builder design pattern enables us to construct complex objects in multiple steps. But how much of it is relevant for a modern programming language like Kotlin? In this video, we'll see a traditional version of the Builder Pattern, and then we'll see how we can improve upon it with Kotlin's language and library features.
✨ 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/
📺 More about Collection Builders:
• Intro to Collection Builders in Kotlin
📚 Chapters
00:00 Introduction
00:18 Example Code
02:01 Traditional Builder Pattern
05:02 Modernizing a Builder with Kotlin
09:15 Wrap-up