~/talk

Kotlin vs Scala

Talkat ScalaIO 2018 · 2018-10-29..10-31· [kotlin]
links:none on file
name:Urs Peter
links:none on file
slides:none on file

Kotlin claims near-perfect Java interoperability, shows coroutines as language feature (suspend functions compiled to continuations) that run on dispatchers, and proves concise null-safety with nullable types with ? and Elvis operator (80% of users reportedly love it). Examples include data classes with generated componentN destructuring, extension functions that add methods to Java types, and a collections facade over mutable Java lists. Scala keeps a richer type system, full pattern matching, implicits and functional libraries; Kotlin compiles to JVM and JS, jumps Android adoption after Google 2017, and is learnable in hours rather than weeks.

AI-written summary · about

  1. 0:00Intro
  2. 2:37Facts about Kotlin
  3. 5:26A simple class
  4. 5:42Comparing oO between Scala & Kotlin
  5. 7:46Inheritance
  6. 8:27Value classes
  7. 9:56Declaring and Calling Functions
  8. 13:06Functions under the hood
  9. 15:31Optional Values
  10. 19:00Nullable Types
  11. 19:42Pattern Matching
  12. 22:27Destructuring
  13. 24:33Composition
  14. 26:55Pimp my Library Scala
  15. 28:59Extensions in Kotlin APIs
  16. 30:28Extensions ++ (Function types with receiver)
  17. 33:16Collections
  18. 35:16Collection Examples
  19. 36:16Sequential Programming...
  20. 36:37Async on the other hand...
  21. 37:52Kotlin Coroutines to the rescue
  22. 40:02Kotlin Coroutines under the hood
  23. 41:10Kotlin Coroutines Interoperability under the hood
  24. 41:37Some final words on Coroutines
  25. 44:38Interoperability Example
  26. 45:42Language Philosophy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.