On Mar 28, 2012, at 1:13 PM, Chris McBride wrote: > I was wondering how dependency injection is done in Clojure since functions > live in static namespaces. It seems like this could be achieved by having a > macro that can use runtime information to determine the mapping between a > namespace and its implementation. Does this make sense? Is there a better way > to dependency injection in Clojure?
To what end are you injecting dependencies? (If it's for testing, I have something useful to say; if not, not.) ----- Brian Marick, Artisanal Labrador Now working at http://path11.com Contract programming in Ruby and Clojure Occasional consulting on Agile -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
