~/talk

Do or Don't. There Is No Try—or Is There?

TalkinDutchat SDN Event 1 · on Friday, 2017-03-17· [functional-programming]
slides:none on file

A programmer explains adopting the Scala-style Try monad (implemented in Java and C#) to replace try-catch blocks, many ifs and null checks by composing Map() and FlatMap() calls with lambdas. The talk shows a small library that ports Scala Try, gives many code examples, and demonstrates how this approach leads to methods that return results consistently and reduce boilerplate.

AI-written summary · about

  1. 0:00Introduction
  2. 6:10Programming languages history
  3. 10:47What are monads?
  4. 24:03Building a monad live
  5. 36:19Monad use cases
  6. 41:41Try monad in Scala
  7. 47:55Real-world monad example
  8. 55:03Why use monads?
  9. 57:13Conclusion & Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.