~/talk

Dependency Management in Clojure

Talkat clojureD 2016 · on Saturday, 2016-02-20· [software-architecture]
links:none on file
slides:none on file

Shows concrete patterns for reducing coupling in Clojure: using higher-order functions and factory closures to inject behavior at setup time, a simple service locator implemented as maps for runtime lookup, and protocols/records for typed dispatch with explicit signatures. Describes Stuart Sierra’s component library to build a start/stop lifecycle graph where dependencies are constructed once and injected, warns about implicit dynamic vars, and recommends keeping functions small and only extracting dependencies that are likely to change.

AI-written summary · about

  1. 0:00Intro
  2. 1:14What is this about
  3. 1:55What are dependencies
  4. 4:11Explicit vs Implicit
  5. 7:17Simpleminded
  6. 7:36Higherorder functions
  7. 9:25Close over dependencies
  8. 10:35Service locator pattern
  9. 12:06Simpleminded library
  10. 13:26Protocols
  11. 14:47Summary
  12. 16:11Stateful dependencies
  13. 18:23Closures
  14. 19:19Component
  15. 21:53Components
  16. 23:14Dependency Enclosure
  17. 24:24Suggestions
~/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.