22 Kotlin Extensions for Cleaner Code
Be more productive when building your mobile apps
Published in
8 min readSep 3, 2020
I’m a mobile developer, and one of the reasons I switched to Kotlin immediately after it appeared is because of its support of extensions. Extensions allow you to add methods to any existing class, even to Any
or an optional type (for example, Int?
).