News for hackers. Stuff that matters.
Re:Reviewing Bad Schematics as EE Interview Tactic by xref on Tuesday December 24, 2019 @02:24AM (#21870490)
I thought at least in TDD your tests could “never be wrong” since you have to write code that makes the tests pass, not vice versa
Re:Reviewing Bad Schematics as EE Interview Tactic by Normal_gaussian on Tuesday December 24, 2019 @06:21AM (#21871269)
I practice TDD frequently (whenever suitable).

The tests are wrong 70% of the time. Either a silly mistake, the design wasn't conceptualized properly (or was changed), or just plain bad code.

If you're tackling your suite one test at a time, and committing code that solves just that test, seeing it fail and then pass, and thinking about why, everything will be fine. If you batch things, or don't debug success, you'll ultimately be buggy.