5 * - 5 = -25 |OR| 5 * - + 5 = 10, but not both at the same time #13

When doing test-driven development, you almost always do something that feels hacked or too simple for other plans to work. Just getting the tests to pass is not the end.

The next stage from there is to keep the tests passing while you refactor the code, to make improvements so that it doesn’t feel hacked.

1 Like