~/talk

Is Maybe an Option (for modelling your domain)?

Talkat KanDDDinsky 2019 · 2019-10-17..10-18· [functional-programming]
slides:none on file

Shows that F# option/maybe makes absence explicit but not why a value is missing, and that replacing scattershot nulls with algebraic sum types (like a custom Registration union and a Result type with Ok/Error) captures domain reasons, prevents illegal combinations (course level + speciality mismatches), and models UI states (NotAsked/Loading/Result/Error) so the compiler rejects invalid states and runtime null checks and racey UI “zero then spinner” bugs disappear.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Who are you
  3. 2:10What can you expect
  4. 2:37Who has seen CSharp
  5. 3:57CSharp Code
  6. 4:30Repository
  7. 5:33Partiality
  8. 6:23Uncertainty
  9. 8:17Is there help
  10. 9:00Option type
  11. 9:38Option type partiality
  12. 14:39Exception syntax
  13. 15:15Result syntax
  14. 16:12Explicit options
  15. 17:30Option bears no meaning
  16. 18:42Multiple options
  17. 20:04Maybe
  18. 21:58Some Type
  19. 22:54Product Type
  20. 23:44Registration Result
  21. 24:59In Case Course
  22. 33:14Antipatterns
  23. 36:35Exceptions
  24. 39:20Conclusion
~/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.