Before is better. You might know what the right results look like but not how to get at them. Plus there’s no writer’s block with TDD.

After it becomes a chore, maybe even a waste of time, e.g., if the test fails because there’s something wrong with the test itself, not the source.

is a composer and photographer from Detroit, Michigan. He has been working on a Java program to display certain mathematical diagrams.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store