3 ms·
Break statements contained in an if-then-else loop are a bad idea.
by hexbus 4y ago
Break statements contained in an if-then-else loop are a bad idea.
- phkahler 4y agoSkipping the full test suite is also a bad idea.
- acadiel 4y agoI 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 4y agoI don’t think that was the case in this situation
- DangitBobby 4y agoIt can be hard to test what you didn't anticipate!
- carl_sandland 4y agowould complete code coverage from tests of this line found the problem, or was it temporal somehow ?