![]() Kotlin’s main goal was removing boilerplate syntax that goes into class, method, and variable declaration and use. Reading Kotlin source code, it looks like a streamlined version of Java. By the end of 2017, 10 million lines of code on GitHub had already been written in Kotlin with contributions from over 160,000 users. After the announcement, interest in Kotlin spiked. Updating Android Studio for Kotlin support was easy with the IDE developer and the language developer being the same company. Of course, it helps that Android Studio – Google’s official developer tool – runs a version of JetBrains’ IDE. In 2017, at Google’s I/O Conference, the Android team announced that Kotlin would join Java as a “first-class” language for Android development. As Kotlin’s popularity grew, developers started to take notice, including the Android team at Google. Version 1.1 added more language features, library functions, and support that made the language usable for complex, enterprise-level applications and mobile apps. However, Kotlin remained a niche project until its 2016 release of version 1.1. This initial release gained a small following of diehard fans that supported the project’s goals of making Java more concise and secure. The project began in 2011, and in 2012 JetBrains released the first version of the Kotlin language as open source. They initially developed Kotlin out of a desire to clean up Java’s syntax while still maintaining full interoperability with existing Java code. Kotlin comes from JetBrains, the Czech software shop famous for their IntelliJ Integrated Development Environment (IDE). Kotlin’s community and developers have also implemented a complete suite of language features and library functions that make Kotlin an effective language for both object-oriented and functional programming in nearly any context where you might use Java. As such, it runs seamlessly on the Java Virtual Machine (JVM) and Android without the need for bridges or wrappers. It also runs the same compile-time checks as Java does, along with a few additional checks. Kotlin compiles to the same bytecode as Java. This feature, along with other simplifications, makes Kotlin essentially a cleaner version of Java, removing a lot of boilerplate syntax. ![]() It’s statically typed, but its compiler can infer typing for most variables without the need to declare them. Painted in broad strokes, Kotlin is a general purpose, open source programming language. ![]() ![]() Kotlin’s rise has been driven by its strong features, concise syntax, and interoperability with Java. Over the course of the past two years, Kotlin has gone from relative obscurity to being recognized by Google as a supported language for Android development. Recently, a new programming language, Kotlin, has exploded onto the scene. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |