~/talk

Living With Legacy Code

Talkat Heart of Clojure 2024 · 2024-09-18..09-19· [clojure, software-architecture]
links:none on file
slides:none on file

Hiccup implements pre-compilation 10–20x faster by turning literal Hiccup vectors into strings, but that forces a raw-string vs escaped distinction (1.0 insecure by default, 2.0 returns raw strings) and hits a Java method instruction limit for large templates. Ring faces a naming choice: keep legacy unnamespaced keys for compatibility or switch to namespaced keys for clarity; websockets are added using a compromise to avoid breaking users. Renaming an artifact group (medley → dev.weave.medley) permanently breaks dependency resolution: artifact group rename breaks dependency resolution.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:41Origins of Compojure and Ring
  3. 3:55Hiccup pre-compilation
  4. 9:16Leaky abstractions in Hiccup
  5. 14:48Lessons from API delays
  6. 16:57Evolving the Ring library
  7. 24:57Artifact naming and Medley
  8. 31:09Conclusion and takeaways
~/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.