Random Link ¯\_(ツ)_/¯ | ||
Jun 11, 2022 | » | Testing Your Code
8 min; updated Nov 19, 2022
Why Write Tests Helps catch bugs in the code, and in the programmer’s mental model of what the code does. The later a bug is caught in the development cycle, the more expensive it is to fix it. A good test today is a future debugging session saved. The test is the first client of your code. It uncovers sub-optimal design choices, tight couplings, missed cases, etc.... |