The Startup
Published in

The Startup

Photo by Sigmund on Unsplash

Kotlin Delegates

The Delegation pattern has proven to be a good alternative to implementation inheritance”. This pattern allows composition to make code just as reusable as inheritance. Kotlin has made delegation a first class language feature through the by keyword. Kotlin supports delegation in two ways: Interface implementation and property delegation. These…

--

--

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +760K followers.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jordan Hansen

I have been developing Android Applications professionally since 2012.