News for hackers. Stuff that matters.
Re:TDD did not live up to expectations by thaumasiotes on Thursday June 29, 2017 @10:57PM (#14668370)
> Transcription can lead to the same conditional in two blocks of similar code instead of the two intended. It can lead to fencepost errors due to changing or inverting an inequality. And in some languages it can lead to code that looks up data that doesn't exist (misspell a property name outside the happy path).

Funnily enough, all of those are also problems with copy-and-paste. But they're much more likely to occur through copy-and-paste, because it's easy to do that without reviewing the code.

Re:TDD did not live up to expectations by hinkley on Friday June 30, 2017 @01:35AM (#14668818)
You're saying you should do extract method or rename variable by typing the code out again long form instead of cut and paste or using the IDE?