2 ms·
Sigh. Don't duck too much. This kind of config implementation is actually pretty common in some other languages. Clojure, for example. Most configuration files
by falcolas 9y ago
Sigh.
Don't duck too much. This kind of config implementation is actually pretty common in some other languages. Clojure, for example. Most configuration files for Clojure programs are written in Clojure, and defended as such.
I also see it frequently done in Python and Ruby, given how simple they make it to dynamically import random files as modules. I've even watched a colleague rant about how they couldn't figure out how to do exactly this in Go.