~/talk

Exploring Railway Oriented Programming in Python

links:none on file
links:none on file
slides:none on file

Builds a Railway Oriented Programming pipeline from scratch in Python and demonstrates the concrete code: a Success/Failure two-track wrapper, bind and map adapters and a compose helper, used to implement a user-update flow (validate canonicalize update DB send email). Claims error handling moves to a single generate_response boundary, keeps happy-path code clean, and mostly works though authors note missing libraries for ergonomic, type-checked composition and uncertain adoption in real projects.

AI-written summary · about

  1. 0:00Welcome
  2. 1:30Why functional programming matters
  3. 3:16Python error handling pitfalls
  4. 6:27Railway Oriented Programming
  5. 7:32Function composition
  6. 9:40Error handling with success/failure
  7. 11:04Composing functions with double tracks
  8. 12:48Bind function for mismatched tracks
  9. 13:50Bind simplifies error handling
  10. 15:37Mapping functions to double tracks
  11. 17:18Simplify map with bind/success
  12. 18:02Full railway pipeline
  13. 19:15Centralized error handling
  14. 20:43Business logic vs errors
  15. 21:25ROP challenges in Python
  16. 23:13Key takeaways and resources
  17. 24:16Performance trade-offs
  18. 26:01Reusable blocks and error handling
  19. 27:03ROP vs promises
  20. 27:24ROP versus exceptions
  21. 28:47Q&A
~/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.