3 ms·
people often mention forcing refactoring/rewrites as a benefit of unit testing, that you end up with code that is actually better in testing-unrelated ways. thi
by currymj 9y ago
people often mention forcing refactoring/rewrites as a benefit of unit testing, that you end up with code that is actually better in testing-unrelated ways. this is true in my experience.
i wonder how true this is of formal verification? especially in a language like Rust that has a fairly fancy type system?
- zerb 9y agoYeah, I'd say there's a huge overlap in attributes of testable code and reasonable code.