~/talk

Java with a Clojure Mindset

Talkat JAX London 2020 · 2020-10-05..10-08· [java, functional-programming]
links:none on file
slides:none on file

A Java bonus-processing service is reworked with Clojure ideas: domain objects become immutable, business logic is pure functions that return new state plus a list of effects, per-client state is managed with atoms via ConcurrentHashMap.compute, and Kafka supplies event-sourced input so the app rebuilds state from two months of messages. Side effects run from explicit effect objects, payment uses a relational DB for at-most-once guarantees, tests drop mocks and the core is far smaller and simpler.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Quiz
  3. 3:22What is Closure
  4. 5:21Closure vs Java
  5. 5:50Pure Functions
  6. 7:00Side Effects
  7. 11:10Atom
  8. 15:42Is this thread safe
  9. 18:36Effects
  10. 20:18Pure Logic
  11. 24:50Agents
  12. 27:03Coefficient
  13. 30:29Functional Core Imperative
  14. 32:04Dynamic Type
  15. 37:12Closure
  16. 42:10Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.