3 ms·
If you have a complete suite of unit tests, integration tests and system tests, you should not have fear on refactoring your code. Question: do you store event
by je42 13y ago
If you have a complete suite of unit tests, integration tests and system tests, you should not have fear on refactoring your code.
Question: do you store events that could be not send in a persistent store to retry at a later stage ?
- sskates 13y agoIt's true that tests are very helpful for this. However there are a lot of bugs in the wild that are difficult to reproduce, especially ones that will only crop up under rare conditions of state. It's as Linus said- "There really are only two acceptable models of development: think and analyze or years and years of testing on thousands of machines". Years and years of testing on thousands of machines happens to be the best predictor of code that runs correctly.