~/talk

Ancestry of Polymorphism in Clojure

Talkat Functional Conf 2025 · 2025-01-24..01-25· [clojure, functional-programming]
links:none on file
slides:none on file

Tracks polymorphism from biology through CPL and Simula to Clojure, showing concrete mechanics: a send-message example uses a derived keyword hierarchy plus multimethods that dispatch on a vector of values, with caching to mitigate the expensive recursive is-a checks; contrasts Java-style double dispatch and visitor pattern with Clojure’s approach; shows that protocols and records compile to JVM interfaces for faster single dispatch; recommends multimethods for evolving business logic and protocols for hot paths, and gives the 1966→1968→1988→2007→2010 timeline.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Exploring polymorphism in Clojure
  3. 3:56What is Clojure
  4. 8:31Polymorphism in nature
  5. 11:46Polymorphism in early CS
  6. 18:47Ad hoc vs parametric
  7. 22:45Simula and runtime
  8. 27:30Simula’s legacy
  9. 28:59Lisp’s OO features
  10. 31:48Common Lisp Object System
  11. 33:13Common Lisp multi-methods
  12. 35:25Java double dispatch
  13. 38:34Polymorphism in Clojure
  14. 41:03Clojure multi-methods
  15. 44:16Clojure protocols
  16. 46:25Polymorphism evolution
  17. 47:29Revisiting CS history
~/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.