~/talk

Kotlin for Java Programmers

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [kotlin]
slides:none on file

Kotlin compiles to Java bytecode and JavaScript and is shown running via the kotlinc compiler REPL and as scripts (.kts scripts). Examples demonstrate type inference, val versus var immutability, default and named arguments, the spread operator for varargs, nullability with ? and safe calls, and concise string templates. The demo uses by lazy for deferred computation, shows when pattern matching, extension functions, data classes, companion objects for static members, and an infix lambda-based DSL that builds fluent robot commands.

AI-written summary · about

  1. 0:00Introduction
  2. 4:51Create a Script
  3. 10:32Multiline Strings
  4. 15:07Functions
  5. 21:50Variables
  6. 24:42For Loops
  7. 32:55Null Type
  8. 34:59Lambdas
  9. 36:43Extension Methods
  10. 38:09Classes
  11. 41:00Static Methods
  12. 44:00Lazy delegates
~/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.