Skip to content

sergio-dsr/kotlin-hands-on

Folders and files

NameName
Last commit message
Last commit date
Sep 2, 2017
Apr 14, 2018
Apr 19, 2018
Jun 15, 2017
Aug 9, 2017
Apr 14, 2018
Sep 1, 2017
Mar 4, 2018
Jun 15, 2017
Apr 16, 2018

Repository files navigation

Kotlin Hands On

Basics

  • basic types
  • string templates
  • functions
  • conditional expressions
  • when expression
  • lambdas
  • type checks / automatic casts
  • loop / ranges
  • null references

Intermediate

  • data class / singleton / sealed class
  • getters/setters
  • type alias
  • generics (site-variance)
  • collections & structures map, pair
  • lazy / delegates

Advanced

  • operator overloading (+,-,get/set,...)
  • coroutines
  • inline functions
  • extension functions/properties
  • function type with receiver
  • destructuring declarations

At Work

  • mocks / tests
  • JSON / Mappings
  • Java Interoperability

Functional Programming

  • Validated and Either