~/talk

Dissecting the stdlib II

Talkat Chicago Roboto 2019 · 2019-04-25..04-26· [kotlin]
slides:none on file

Reads the stdlib source to show concrete code patterns: operator overloading implemented as extension or member functions (example: Ship/crew plus and minus, which compile and run), compiler behavior that auto-derives plusAssign from plus and can change semantics, use of extension functions to add iterator and contains without implementing interfaces, destructuring via componentN and the componentN limit for non-data classes, infix functions as a clearer alternative to +=, and bytecode checks that explain why interoperability with Java behaves as it does.

AI-written summary · about

  1. 0:00Intro
  2. 1:42What is Kotlin
  3. 5:32Conventions
  4. 7:20Interoperability
  5. 11:00Operators
  6. 12:47Extension Functions
  7. 29:15Leveraging Operator Overload
  8. 30:23IDE Help
  9. 31:00Overload
  10. 31:53Destructuring declaration
  11. 32:37Destructuring syntax
  12. 33:43OperatorFun
  13. 35:10Initializing variables
  14. 36:10Component functions
  15. 36:56Infix notation
  16. 38:43Infix syntax
  17. 39:18Member functions
  18. 39:58Comparison
~/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.