Taking Kotlin Builders to the Next Level: A Type-Safe DSL Approach
You might recall my Simplifying the Builder Pattern article about using Kotlin Data Classes as a simpler version of the Builder pattern. You saw how named parameters and default values removed much of the ceremony you see in a traditional Builder. Now, I want to guide you further. In this Read more…