~/talk

Javaslang - Functional Java Done Right

Talkat JDD 2016 · 2016-10-10..10-11· [java, functional-programming]
slides:none on file

States Java 8 lacks many functional primitives and shows concrete fixes: Javaslang supplies persistent immutable collections that reuse structure to save memory, functional interfaces up to arity 8 with checked variants, and richer stream-like APIs (distinctBy, groupBy, cycle, foldLeft/foldRight). It provides Option -> empty or present via Iterable integration, Try for checked exceptions that captures failures instead of throwing, lifting to turn exceptions into Option, currying and memoize to cache pure functions, tuples with map/transform, and pattern matching over values and fields.

AI-written summary · about

  1. 0:00Introduction
  2. 1:21Limitations of Java 8
  3. 5:22Functional programming core
  4. 10:10Introducing Javaslang
  5. 14:07Lambda and tuple basics
  6. 22:32Control structures
  7. 28:43Collections API
  8. 34:44Pattern matching and wrap-up
~/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.