When introducing Kotlin to an existing code base, it's beneficial to be aware of common Kotlin idioms. Many of these common idioms can be used without a direct impact on interoperability; however, there are some common patterns in Kotlin that can impact interop, and you should be aware of them.
Embracing Kotlin idioms
Goodbye helpers – embracing top-level and extension functions and properties
A common pattern in Java is to have the helper and util classes that exist solely for the purpose of storing static methods and data that needs to be accessible to the code base. These are classes such as StringUtils, DateUtils, and ViewHelpers. In Kotlin, we have another option.
Top-level functions and properties allow us...