I'm trying to implement a simple system to load certain namespaces into my application that are configurable at runtime, via a "plugins" text file that lists the namespaces we want to load. I have some code that loads this file, then line by line calls "require" dynamically, like so:
(doseq [plugin plugins] (require (symbol plugin)) Each "plugin" namespace attaches itself to the central event bus and listens for events. My question is: how bad is it that I'm doing this? Am I taking any kind of major performance hit by dynamically calling "require" like this? -- 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