3 ms·
A few basic invariants about how your code is structured does a lot more than it being excessively "generic". Writing simple components that actually adhere to
by fennecfoxen 6y ago
A few basic invariants about how your code is structured does a lot more than it being excessively "generic". Writing simple components that actually adhere to the single-responsibility principle (and composing them into more complex logic) doesn't just help out the mysterious future. It makes your existing codebase easier to understand and to validate up front.