![]() ![]() ![]() Android Studio, a free subset of IntelliJ IDEA that is specialized to Android development, has shipped with the Kotlin plug-in installed since version 3.0. ![]() IntelliJ IDEA Community Edition (free) and Ultimate (subscription) both ship with the Kotlin plug-in. In addition to the online option, which is more useful for learning than for serious coding, the official Kotlin language site offers four local options for developing with Kotlin, as shown below. You can log into both the Kotlin and Advent of Code sites with your existing social media credentials. For extra credit, join Advent of Code and use the appropriate section of the Try Kotlin site to code your answers. The knowledge needed to complete the Problems section is covered in previous sections the Koans contain links to the appropriate Kotlin documentation in addition to a problem statement and a code skeleton. Both the Problems section and the Koans provide unit tests and ask you to code answers that satisfy all of the tests. On the site you might start by reading through and trying the examples, working through the Kotlin Koans, and then, if you want additional reinforcement, trying all the Kotlin in Action examples. You can try Kotlin online without installing anything on your computer. All of that will make you a more productive programmer than you would be writing Java, even if you start by using Kotlin to build new features into an existing Java application. Kotlin is less verbose, supports all the features of functional programming, eliminates the danger of null pointer references, streamlines the handling of null values, and maintains 100 percent interoperability with Java and Android. Why learn Kotlin? The short answer is that Kotlin is a better language for the JVM than Java. Kotlin was created by JetBrains and released to open source under the Apache 2 license. You can use Kotlin to build applications for the Java Virtual Machine (JVM), Android, browsers, and native apps on MacOS, Linux, Windows, iOS, WebAssembly, and Android. Kotlin is a general purpose, open source, statically typed “pragmatic” programming language that combines object-oriented and functional programming features. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |