~/talk

An Arrow to the Kotlin

Talkat Mobilization 8 · on Friday, 2018-10-26· [kotlin, functional-programming]
links:none on file
slides:none on file

Arrow brings functional programming into Kotlin Android apps and demonstrates concrete wins: building a registration presenter that uses Option/Some/None to avoid nulls, Validated with NonEmptyList plus an applicative to accumulate all form errors in one pass, Either/try for error types, and IO or coroutine integration to call a REST API in background. The code halves line count per a claim, makes validation testable and composable, combines applicative (accumulate) and monad (sequential bind) patterns, and produces a working, simpler flow.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:08History of programming paradigms
  3. 4:20Functional vs object-oriented readability
  4. 5:45Benefits of functional programming
  5. 7:08Why learn functional programming
  6. 8:11Immutability and data models
  7. 9:58Purity and side effects
  8. 11:25Higher-order functions
  9. 12:31Functional programming example setup
  10. 13:35Working with Option data type
  11. 16:05Mapping and folding Option
  12. 18:32Error handling with Either
  13. 20:37Validating form inputs
  14. 22:11Handling errors in Arrow
  15. 24:22Applicative pattern for validation
  16. 28:22Background work with IO
  17. 29:50Using coroutines with Arrow
  18. 30:58Monad for sequential execution
  19. 34:18Combining paradigms
  20. 38:17Advanced Arrow features
  21. 40:26Conclusion and key takeaways
~/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.