3.1 Kotlin - MF1
3.1 Kotlin - MF1
Computación móvil
KOTLIN
Agenda
• Kotlin overview
• History
• Advantages Using Kotlin for Android
• Kotlin Syntax
Kotlin Overview
• Kotlin is an open-source, statically-typed programming
language that supports both object-oriented and
functional programming.
More info:
https://developer.android.com/kotlin/overview
History
• In july 2011, JetBrains unveiled Project Kotlin, a new
language for the JVM, which had been under development
for a year.
Syntaxis
• Basic Syntax
• Functions
• Properties and Fields
• Strings templates
• Control Flow: if, when, for, while
• Null safety
• Collections
• Class
• Objects and instances
Tutorials
• https://kotlinlang.org/docs/reference/basic-syntax.html
• https://codelabs.developers.google.com/codelabs/taking-
advantage-of-kotlin/index.html
• https://www.tutorialspoint.com/kotlin/index.html