Comment on Poor man's dependency injection in ClojureComments−moomin12yCheck 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.−pyritschardOP12yAgreed, there are much more elaborate approaches than this one.
Comments
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.
Agreed, there are much more elaborate approaches than this one.