~/talk

Functional Programming in Java

Talkat Functional Conf 2014 · 2014-10-09..10-11· [java]
slides:none on file

Hands-on workshop refactors an inventory example from imperative loops to reusable Java 8 lambdas and method references, with a GitHub repo offering legacy, functional initial and completed solutions. Code replaces duplicated conditional methods with a generic SearchCriteria, then uses streams (filter, map, flatMap, reduce) to print names, sum quantities and find min items; streams are lazy until a terminal op forces work and parallelStream gives easy concurrency. For pre‑Java8 projects the talk shows using Guava predicates and Optional‑style handling to avoid nulls.

AI-written summary · about

  1. 0:00Start
  2. 14:08IDE Magic!
  3. 16:26Lambdas
  4. 17:27Method References
  5. 18:25Java 8 Gyaan
  6. 23:11Standard Functional Interfaces
~/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.