~/talk

Kotlin Puzzlers, vol 2

Talkat KotlinConf 2018 · 2018-10-03..10-05· [kotlin]
links:none on file
slides:none on file

Live demos on Kotlin 1.3 RC with progressive mode show concrete gotchas: using return as an expression of type Nothing makes print("Hello") and print("World") run then return short‑circuits the rest; Int unary minus and extension precedence causes a compile error on MIN_VALUE.inc; unsigned decrement bug used to produce wrong wraparound but is fixed; missing semicolons split lines so a neighbor count drops from six to three; lambdas capture loop variables so prints become 3 3 3; uninitialized properties cause NPEs during object init; some delegates break destructuring.

AI-written summary · about

  1. 0:00Start
  2. 1:06What Are Programming Classes
  3. 3:00Nonsense Code
  4. 9:40Unsigned Types
  5. 10:06Unsigned Integers
  6. 18:30Builders
  7. 21:36How To Fix Our Builder
  8. 40:14Cast to Nothing
  9. 43:45Objects
  10. 44:06Cycle Dependencies
~/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.