3 ms·
Largely I agree with the author's sentiment, but I'm not sure I totally agree with some of the alternatives. For example I think using an @lru_cache decorator o
by ed25519FUUU 6y ago
Largely I agree with the author's sentiment, but I'm not sure I totally agree with some of the alternatives. For example I think using an @lru_cache decorator over a `get_...()` function to return variables is much better at all than using a global var. In fact, it looks hackier if you ask me.
https://leontrolski.github.io/sane-config.html https://leontrolski.github.io/sane-config.html