kotlin
0x00: about kotlin
- kotlin it's a programming language that support both functional programming and oriented-object paradigms and runs at JVM
- i've been learning this language because this is useful to develop mobile applications in android studio and i don't like java so much. so, this notes are focused on android development
0x01: kotlin basics
- before we start, is necessary to know how to implement the basic structures on programming on kotlin.
-
variable declaration:
- strings:val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero"val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero" -
numbers
val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero" -
bools
val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero" -
static fields
val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero" -
collections
val mutable : String = "ghupasselongo" var unmutable : Strng = "ghu0xf" var guessType = "aero"