资讯

尽管在某些特定场景下,不采用完全有合理的理由。 在使用 Java 超过 15 年后,我开始使用 Kotlin 进行编程,而现在时间已经过去快 5 年了。
Java 这方面的处理远不如 Kotlin,因为 Java 语言架构师更加重视向后兼容性,而不是代码安全,这是设计上的决定。
Kotlin is one of the newer languages on the JVM. It is statically typed and aims to provide a blend of OO and FP programming styles. We present the main features that might appeal to Java developers.
Like Java, it can be used to write apps that run on desktops and servers as well. Plus, JetBrains has released tools for translating Kotlin code into code that can run on iOS or even in web browsers.
In Java terms, Kotlin classes are final by default. Default public members and default final classes could be interpreted as subtle encouragement to prefer composition over inheritance.
Kotlin is a modern alternative to Java that supports functional programming in the JVM. Here's a first look at programming with Kotlin using some of the concepts and syntax you already know from Java.
Google I/O: Kotlin, a popular new language for mobile platforms that's compatible with Java, is now officially supported on Android.
Kotlin continues to grow in popularity among Java developers, a new report from Snyk revealed. In its annual JVM ecosystem report it found that Kotlin is now the second most popular JVM language.
Kotlin is a hot programming language right now, and its eclipse of Java for Android mobile development might leave Visual Studio developers wondering how they can get in on the action.