Konubinix' opinionated web of thoughts

Is TDD About Learning the Art of Writing "Wrong Code" Right?

Fleeting

  1. You first write the code so that it fits the tests. Then you accept that the code looks wrong,
  2. Then, you take a step back and refactor the code to make it right,

This is not easy, as we all strive to make code right at first.