This is one of the reasons why Google was comfortable in endorsing Kotlin - if having Kotlin code call into the Android SDK was going to be some huge problem, Google might have been more cautious. There are a variety of occasions where you will need to think about interoperability, but for the most part, “it just works”. On the whole, things tend to work fairly smoothly. While they may get some Kotlin wrappers, many developers will wind up working with them directly. In particular, many major frameworks are implemented in Java, such as the Android SDK and Spring. While Kotlin libraries are growing in number, they pale in comparison to the vast array of Java libraries. Particularly for new projects, most likely you will be focused on Kotlin code calling into Java code.
0 Comments
Leave a Reply. |