~/talk

Functional Principles for Object Oriented Development

Talkat JDD 2012 · 2012-10-25..10-26· [functional-programming, software-architecture]
slides:none on file

Six concrete principles (start with data in data out and include immutability, passing functions, strong typing and lazy evaluation) claim to halve effort on tricky logic: a pricing-engine slice estimated at four weeks grows into ~four man‑months but would be far simpler with functional patterns. Examples use Java and Scala, Guava immutable collections, Optional, and Java 8 lambdas; aim for ~80–85% of methods pure and testable, isolate environment access, prefer copy‑on‑modify immutable objects and lazy Guava iterables to separate concerns.

AI-written summary · about

  1. 0:00Functional principles in OOP
  2. 2:32FP matters for Java
  3. 3:57FP vs procedural paradigms
  4. 5:41Six functional principles
  5. 7:07Data in data out
  6. 10:24Pure methods in Java
  7. 15:41Data flow and testability
  8. 18:09Immutability benefits
  9. 21:46Immutability Scala vs Java
  10. 23:54Defensive copying
  11. 27:12Immutability efficiency
  12. 29:25Option type vs null
  13. 30:29Functions as values
  14. 32:42Pricing engine project
  15. 34:47Declarative Java 8
  16. 35:30Declarative SQL Excel
  17. 38:00Readability vs familiarity
  18. 39:25Filtering with predicates
  19. 40:06Strong typing benefits
  20. 41:34DDD and type specificity
  21. 44:23Custom types in Java
  22. 45:05Interface segregation
  23. 46:08Lazy evaluation
  24. 47:13Lazy iterables
  25. 50:27Summary
  26. 50:48Non-allegiance to paradigms
~/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.