~/talk

Functional Programming: Technical Reasons to Adapt

Talkat JavaDay Kyiv 2015 · 2015-11-06..11-07· [functional-programming]
slides:none on file

Argues that immutability + pure functions make code easier to reason about, safer for concurrency, and enable optimizations like lazy evaluation, memoization and parallelism; demonstrates Scala treats parameters as final and warns against Java mutability tricks, shows persistent trie copies 100,000 elements in ~33 ms (shared structure avoids full copies), reproduces Haskell’s automatic memoization, and uses Java Streams with lazy infinite sequences to find the first prime >100 whose sqrt>20 (Java streams findFirst returns 401).

AI-written summary · about

  1. 0:00Why functional programming?
  2. 4:36Dangers of mutable state
  3. 14:47History of the paradigm
  4. 19:12Structured vs functional
  5. 24:32Data structure efficiency
  6. 29:51Higher order functions
  7. 34:47Pure functions and transparency
  8. 45:53Memorization techniques
  9. 53:40Purity in Java lambdas
  10. 1:00:28Imperative vs declarative
  11. 1:13:13Building function pipelines
  12. 1:16:40Lambdas and closures
  13. 1:21:26Lazy evaluation and streams
~/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.