Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hexbus
· 3y ago · 0 comments
Break statements contained in an if-then-else loop are a bad idea.
Comments
[–]
phkahler
3y ago
Skipping the full test suite is also a bad idea.
[–]
DangitBobby
3y ago
It can be hard to test what you didn't anticipate!
[–]
acadiel
3y ago
I think the article mentioned they were fanatical about their test suite - but this somehow still slipped through.
I wonder if peer review would have caught it.
[–]
gumby
3y ago
I don’t think that was the case in this situation
[–]
carl_sandland
3y ago
would complete code coverage from tests of this line found the problem, or was it temporal somehow ?