Kotlin tutorial

  1. What is Kotlin. An introduction of the language.

Kotlin has been developed for JetBrains and released in 2012, although Kotlin syntax isn’t compatible with Java’s syntax, Kotlin can work in a project with java classes.

This language is a statically typed programming language for modern multiplatform applications, what means it is static? A static language means that you have to declare the type of the variable and then you can’t change the type later like in Java, the dynamic ones can do like Python. This gives some advantages it runs faster because It validate only when it is compiling and not when it is executing. It avoids typed errors.

Kotlin can be run in JVM (Java Virtual Machine), in Android, JavaScript, also in Native for hybrid applications.