Kotlin
Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
m |
Dan Tobias (Talk | contribs) (Add wikidata) |
||
(7 intermediate revisions by one user not shown) | |||
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. It resembles Apple's [[Swift]] language, but preceded it. It can be used to create [[Android]] apps similarly to the use of Swift to create [[iOS]] apps. It was developed by Russians. | + | '''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. |
+ | |||
+ | 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. | ||
== Links == | == Links == | ||
* [http://kotlinlang.org/ Official site] | * [http://kotlinlang.org/ Official site] | ||
+ | * [https://kotlinlang.org/docs/learning-materials-overview.html Kotlin learning materials] | ||
+ | * [https://play.kotlinlang.org/ Playground to test Kotlin code online] | ||
* [http://steve-yegge.blogspot.com/2017/05/why-kotlin-is-better-than-whatever-dumb.html Why Kotlin Is Better Than Whatever Dumb Language You're Using] | * [http://steve-yegge.blogspot.com/2017/05/why-kotlin-is-better-than-whatever-dumb.html Why Kotlin Is Better Than Whatever Dumb Language You're Using] | ||
* [http://nilhcem.com/swift-is-like-kotlin/ Swift is like Kotlin] | * [http://nilhcem.com/swift-is-like-kotlin/ Swift is like Kotlin] |
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.