~/talk

OOP and FP

TalkinItalianat Codemotion Rome 2015 · 2015-03-25..03-28· [functional-programming, java]
slides:none on file

Compares idiomatic Java 7 OOP style with Java 8’s functional style using concrete examples: string joining with map/reduce to avoid mutable StringBuilder, grouping with Collectors, finding min/max via a single reduce, and using lazy streams to read large logs with limit that prevents loading the whole file. Shows parallelism via parallel streams (noting danger because they use the ForkJoinPool by default), points out Java 8 has no built‑in sliding window, and demonstrates asynchronous composition using CompletableFuture instead of nested callbacks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29OOP vs FP definitions
  3. 7:14Presentation goals
  4. 8:17Accumulator example
  5. 15:30Top student example
  6. 27:20Group students by year
  7. 29:30Concept separation
  8. 35:18Rows before errors example
  9. 41:46Search engine callbacks
  10. 52:15Cat and birds example
  11. 57:01Shape polymorphism example
  12. 59:47Q&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.