Working with Creational Patterns

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.59.192