Extension Functions in Kotlin

added by JavaScript Kicks
6/9/2019 6:00:33 PM

516 Views

Imagine that, somewhere in your code, you need to extend a class with new functionality. For most programming languages, your options would be to either derive a new class or make use of some kind of design pattern. But with Kotlin, things are different-we've got another option on the table.


0 comments