In this chapter, we'll cover how classical creational patterns are implemented in Kotlin. These patterns deal with how and when you create your objects. Mastering these patterns will allow you to manage your objects better, adapt well to changes, and write code that is easy to maintain.
In this chapter, we will cover the following topics:
- Singleton
- Factory Method
- Abstract Factory
- Builder
- Prototype