Understanding the Factory Method Pattern in Kotlin | CodeSignal Learn