~/talk

The Evolution of Object-Oriented Programming

Talkat jLove 2020 · 2020-12-04..12-05· [software-architecture]
slides:none on file

Shows a buggy addOne example where a global mutable counter produces outputs 3 then 4 then null then an exception, then contrasts it with pure functions and referential transparency. Demonstrates builders vs Kotlin/Scala case/data classes and copy() ergonomics, notes lenses as a coming fix for deep updates. Covers ADTs: product tuples and sealed class sum types with exhaustive pattern matching. Explains ad-hoc polymorphism and compiler-filled type classes (Rust cargo run demo succeeds) and a Scala JSON parser that validates and constructs Vehicle instances.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Cycles in OOP evolution
  3. 3:18Immutability and purity
  4. 8:15Builders for immutability
  5. 11:23Default and named parameters
  6. 14:32Functional combinators
  7. 16:18Algebraic data types
  8. 23:15Ad-hoc polymorphism
  9. 28:53Real-world JSON parsing
  10. 31:39Q&A and closing
~/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.