Kotlin
Dan Tobias (Talk | contribs) |
Dan Tobias (Talk | contribs) (Add wikidata) |
||
Line 3: | Line 3: | ||
|subcat=Programming Languages | |subcat=Programming Languages | ||
|extensions={{ext|kt}} | |extensions={{ext|kt}} | ||
+ | |wikidata={{wikidata|Q3816639}} | ||
}} | }} | ||
'''Kotlin''' is a statically typed, object-oriented programming language for the [[Java bytecode|JVM]] and the browser. (There are also versions based on [[JavaScript]].) It resembles Apple's [[Swift]] language, but preceded it. It can be used for client or server side development, as well as to create [[Android]] apps similarly to the use of Swift to create [[iOS]] apps. It was developed by Russians. The Kotlin Foundation has offices in several European countries. | '''Kotlin''' is a statically typed, object-oriented programming language for the [[Java bytecode|JVM]] and the browser. (There are also versions based on [[JavaScript]].) It resembles Apple's [[Swift]] language, but preceded it. It can be used for client or server side development, as well as to create [[Android]] apps similarly to the use of Swift to create [[iOS]] apps. It was developed by Russians. The Kotlin Foundation has offices in several European countries. |
Latest revision as of 18:48, 23 June 2022
Kotlin is a statically typed, object-oriented programming language for the JVM and the browser. (There are also versions based on JavaScript.) It resembles Apple's Swift language, but preceded it. It can be used for client or server side development, as well as to create Android apps similarly to the use of Swift to create iOS apps. It was developed by Russians. The Kotlin Foundation has offices in several European countries.
Variables and structures in Kotlin come in mutable and immutable varieties, indicating whether their values can be changed after being set for the first time.
Among the features is a Groovy-style 'html' function to build an HTML document from structured data encoding its elements. JavaScript-based variants can also access the HTML DOM of a web document, and do graphics using the HTML5 canvas.
The Kotlin keyword for defining a function is 'fun', so programming in Kotlin is clearly more fun than with any other language.