I’m in the process of migrating a bunch of Java AP...
# intellij
j
I’m in the process of migrating a bunch of Java APIs that have static methods to Kotlin. My preferred way to do this is to make them companions on the extension function ’cause that lets us use the same API from Java and Kotlin. Stuff like this: https://github.com/square/okio/blob/master/okio/src/main/kotlin/okio/ByteString.kt#L137