Kotlin, Kotlin Design Patterns, Kotlin Abstract Factory, Kotlin Factory.
modifying existing code. Independence from object creation. A great way to create families of objects. Object creation is encapsulated. Disadvantages The code is complex. We’re introducing a lot of abstraction on top of concrete implementations. Overkill for simple stuff. It may result in