I still don't know what dependency injection means exactly. The examples I've seen that are said to use dependency injection can be solved by using first class functions. Are first class functions what you want?
Jules On Jun 16, 12:09 pm, hari sujathan <hari.sujat...@gmail.com> wrote: > Hi, > clojure web site says - "Clojure multimethods are a simple yet > powerful mechanism for runtime polymorphism that is free of the > trappings of OO, types and inheritance" . > > I think dependency Injection has nothing to do with just OOP, though > it came out in OOP. > Why not dependency inject arbitary code to another arbitary code?? > > Thanks & Regards, > Hari Sujathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---