Kotlin 是一种在 Java 虚拟机上运行的静态类型编程语言,被称之为 Android 世界的Swift,由 JetBrains 设计开发并开源。
Kotlin 可以编译成Java字节码,也可以编译成 JavaScript,方便在没有 JVM 的设备上运行。
在Google I/O 2017中,Google 宣布 Kotlin 成为 Android 官方开发语言。
编程语言语法对比
Scripting Languages I: Node.js, Python, PHP, Ruby
http://rigaux.org/language-study/syntax-across-languages.html
https://programming-idioms.org/about#about-block-cheatsheets
- https://programming-idioms.org/cheatsheet/go
- https://programming-idioms.org/cheatsheet/kotlin
- https://programming-idioms.org/cheatsheet/Kotlin/Python
静态语言 vs 动态语言
https://www.liaoxuefeng.com/wiki/1016959663602400/1017497232674368