di
di copied to clipboard
DI is a dependency injection framework that allows you to define dependencies as cheaply as defining function arguments.
If we rename a var then we don't get an error. ```clojure (update-key `foo ...) ;;vs (update-key #'foo ...) ```
Memoize2
graphviz
https://chatgpt.com/share/670573f1-a7bc-8004-83fe-bc66ceddee03
I suspect that if you do a lot of variable redefenitions, objs ConcurrentHashMap will needlessly grow. Not a risk for production ran systems https://github.com/darkleaf/di/blob/0ff98894ccdb35418c864d72c83f414b319cddd7/src/darkleaf/di/core.clj#L1005-L1007