Kotlin
Kotlin runs on the JVM and is 100% interoperable with Java, but with a far more concise and null-safe syntax. Google made it the preferred language for Android. It also works for backend and multiplatform.
- Creado por JetBrains
- Año 2011
- Paradigma: Multi-paradigm · compiled to bytecode
- Extensiones: .kt, .kts
Para qué se usa
- Android apps
- Backend with Ktor
- Multiplatform
A favor
- Concise and safe
- Interops with Java
- Native null safety
En contra
- Slower compilation
- Fewer resources than Java
- Tied to the JVM
Ecosistema
- Jetpack Compose
- Ktor
- Spring
- Android SDK
- Coroutines
- Gradle
Ejemplo
fun main() {
println("¡Hola, mundo!")
}