1. 8
  1.  

  2. 8

    This mixes a few things. ‘Tests Before’ (TDD) helps you simplify your design and avoid errors. ‘Tests After’ helps you make sure you are making changes without introducing errors. Logging helps you find out about something that went wrong. It’s not preventative like the other two.

    1. 3

      ‘Tests Before’ (TDD) helps you simply your design and avoid errors.

      They also help to drastically increase the effort needed to make small modifications to your initial design.

      This mixes a few things.

      Separate things, but all competing for the same resources. I’m reading this appeal as “if you have to cut some corners, do it in the unit tests instead of the logs”. Just a matter of priorities.

      1. 2

        To me, the prevention aspect is critical.

        Re TDD, that hasn’t been my experience.