~/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:00Benvenuto e introduzione
  2. 1:29Definizioni OOP e FP
  3. 7:14Obiettivi della presentazione
  4. 8:17Primo esempio: Accumulatore
  5. 15:30Secondo esempio: Studente migliore
  6. 27:20Raggruppamento studenti per anno
  7. 29:30Separazione dei concetti
  8. 35:18Esempio: Righe precedenti agli errori
  9. 41:46Callback con motori di ricerca
  10. 52:15Esempio: Gatto e uccelli
  11. 57:01Esempio: Polimorfismo con Shape
  12. 59:47Conclusioni e Q&A
~/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.