Retrofitting the Reloaded pattern into Clojure projects
clojure
Stuart Sierra has done a great job with clojure.tools.namespace and the reloaded leiningen template. If you haven’t heard about this before please have a look at c.t.n readme and watch this presentation.
I’ve have retrofitted this pattern into two rather big clojure projects (20k and 5k lines) with several modules and here are some of my findings.
Removing global state The first step is to find all resources that needs to be “lifecycled”.
Read more...