Войти
  • 8659Просмотров
  • 1 год назадОпубликованоDave Leeds

Applying the Builder Pattern in Kotlin

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: ... or pick up the new Leanpub Edition for offline access and more! 🚀 Get the inside scoop on everything I'm working on - join my new email newsletter! Sign up here: 📺 More about Collection Builders: 📚 Chapters 00:00 Introduction 00:18 Example Code 02:01 Traditional Builder Pattern 05:02 Modernizing a Builder with Kotlin 09:15 Wrap-up