~/talk

OOP v̶s̶ and FP

slides:none on file

Argues that OOP and FP are complementary not opposing, claiming polymorphism and encapsulation solve dependency and extension while immutability and referential transparency ease concurrency and caching. Shows concrete tradeoffs in Java 8: reworking GoF patterns functionally, using Optional instead of exceptions for parse errors, a stream zip workaround to include the previous log line, and why immutable-heavy code can pressure the GC yet enables safe parallelism. Recommends picking the tool per problem: parsers and composition favor FP, GUIs favor OOP.

AI-written summary · about

  1. 0:00Intro
  2. 3:36A world of false dichotomies
  3. 5:55False dichotimies in software engineering
  4. 11:40OOP == Message Passing
  5. 12:49Functional Programming Myths
  6. 20:26Definitions
  7. 21:53What's the difference?
  8. 25:04Biggest OOP advantage: Polymorphism
  9. 26:24OOP vs FP Decomposition
  10. 28:16OOP Decomposition
  11. 31:29Composition(?)
  12. 33:22Biggest FP advantage: Immutability
  13. 37:33Referential transparency means no side-effects
  14. 38:23OOP vs FP Error Management
  15. 40:47OOP: FP = Imperative: Declarative
  16. 44:14FP version 1
  17. 46:29FP version 2
  18. 50:0285% functional language purity
~/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.