Let’s imagine that a clojure program wants to load clojure files during runtime. I want to emulate weechat scripting system in clojure.
The clojure files are stored as ~/.program/scripts/*.clj
I could, for example, add ~/.program/scripts to classpath, scan ~/.program/scripts, and require clj files in ~/.program/scripts. Is there a better way?