~/talk

A Result for Our Issues

Talkat droidcon Italy 2021 · 2021-11-12..11-13· [kotlin, android]
slides:none on file

Claims that Kotlin coroutines’ default exception propagation makes composition hard and offers a concrete alternative: a small library called asito that models errors as sealed classes for errors (Success/Failure), provides combinators like map and flatMap plus fold, zip and runCatching helpers, and ships a one-line Retrofit adapter to return Result types. Code examples show replacing try/catch with composable results, integration with Retrofit, and benchmarks claim a lighter, focused footprint compared with Arrow or kotlin.Result.

AI-written summary · about

  1. 0:00Start
  2. 4:41Callbacks - Pros
  3. 5:15Callbacks - Cons
  4. 11:44Coroutines - Pros
  5. 14:10Coroutines - Exception example
  6. 15:55Esito Core
  7. 22:49Transformation - Example
  8. 24:52Side Effects - Example
  9. 26:13Chaining - flatMap example
  10. 31:02Testing
  11. 32:36Retrofit - Example
  12. 34:47Retrofit - Network Error example
  13. 35:53Benchmark existing solutions
~/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.