~/talk

Kotlin For Swift Developers

Talkat try! Swift Tokyo 2018 · 2018-03-01..03-03· [kotlin, swift]
slides:none on file

Kotlin shows concrete, Swift-friendly parity: val vs let for constants, identical optional syntax that reduces null crashes, and familiar generics plus map/filter. Key gotchas include Kotlin’s parameter shorthand it instead of Swift’s $0 and the reduce/fold mismatch—use fold when you need an initial accumulator. Tooling details: IntelliJ/Android Studio plugins, try.kotlinlang.org sandbox, Kotlin/JS cross-compilation, and Kotlin/Native via LLVM which compiles to machine code but remains experimental and not yet production-ready.

AI-written summary · about

  1. 0:00Start
  2. 0:16KOTLIN FOR SWIFT DEVELOPERS
  3. 4:02WHAT IS KOTLIN?
  4. 5:25A CONSTANT STRING
  5. 5:43AN OPTIONAL INTEGER VARIABLE
  6. 6:14NullPointerException
  7. 7:13GENERICS AND FUNCTIONS AS PARAMETERS (パラメータとして使える関数)
  8. 8:12map filter reduce
  9. 12:46guard
  10. 13:44apply
  11. 15:12KOTLIN / NATIVE
  12. 17:35DOCUMENTATION?
  13. 18:41try? kotlin
~/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.