3 ms·
I experienced while writing a lot of tests, the code suddenly became - more readable - less over-engineered - replaceable - easier to maintain since it's easier
by donjoe 9y ago
I experienced while writing a lot of tests, the code suddenly became
- more readable
- less over-engineered
- replaceable
- easier to maintain
since it's easier to write tests for "clean code".
- manmal 9y agoExactly, even if you don't write tests for a component, it pays off to think about how it could be made testable. You can still choose to add tests later on.