Skip to content
0:00 / 0:00

#kotlin#builderpattern#designpatterns

Applying the Builder Pattern in Kotlin

Dave Leeds

16K subscribers • 19 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Dave Leeds

Intermediate. Assumes working knowledge.

9.9K views2 years ago1 recommendation

Programming languagesSoftware designKotlinDesign patterns

Dave Leeds demonstrates how to implement the traditional Builder pattern in Kotlin and modernize it using language-specific features.

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: typealias.com/start/ ... or pick up the new Leanpub Edition for offline access and more! book.typealias.com/ 🚀 Get the inside scoop on everything I'm working on - join my new email newsletter! Sign up here: newsletter.typealias.com/ 📺 More about Collection Builders: youtu.be/T7hLJsLGhJA 📚 Chapters Introduction Example Code Traditional Builder Pattern Modernizing a Builder with Kotlin Wrap-up

Why it's here

1 person recommends this

What people say. Recommended as a clear guide on modernizing the traditional Builder pattern using Kotlin features.

u/TypeProjectionin r/Kotlin • Recommends

Modernizing the Builder Pattern in Kotlin