oliverdavies.uk/source/_daily_emails/2023-10-05.md

689 B

title pubDate permalink tags
Some solutions are good enough 2023-10-05 daily/2023/10/05/some-solutions-are-good-enough
software-development
technical-debt

Once you have a passing test and you're confident your code works as expected, what do you do next?

Do you keep refactoring and changing it, or is it good enough?

Do you need to extract additional classes and methods now, or as the test is passing, do you move on to the next task?

The main objective is to ship the change and for it to provide value to users, not to have a perfect or "gold-plated" solution.

Once it's shipped, because you have tests, you can confidently refactor it in the future.