Re:Poor man's dependency injection in Clojure
by moomin on Saturday January 25, 2014 @08:30AM
(#7120708)
Check out Stuart Sierra's "component" for another take. Of course, another take is that you're better off just constructing objects by calling their constructors directly.
[ Parent
| on HN ]
Re:Poor man's dependency injection in Clojure
by pyritschard on Saturday January 25, 2014 @09:54AM
(#7120920)
Agreed, there are much more elaborate approaches than this one.