4 ms·
* Keeping a function easy to understand without having to think about the rest of the codebase * Minimizing non-local state * Keeping things testable * Keepi
by starbugs 3y ago
* Keeping a function easy to understand without having to think about the rest of the codebase
* Minimizing non-local state
* Keeping things testable
* Keeping code reusable without having to find and copy a lot of other code from a codebase/refactor completely
Note: I am not talking about DI frameworks here, because I don't like them.