DEV Community

Discussion on: Explain why developers are bad at testing their work, like I am five

Collapse
 
moopet profile image
Ben Sinclair

Generally, they're not. They're bad at manually testing their own code, because they're too close to it. Kind of like how an author writes a story, and then a proof-reader picks apart all the obvious mistakes they didn't notice.

Developers can be good at writing tests, they can be good at anticipating strange conditions and at writing their code defensively, but they can't always see the wood for the trees.

Collapse
 
perigk profile image
Periklis Gkolias

Indeed, so are you saying there is no cure?