Comment by comprev
6 hours ago
Which is where TDD can really help.
Write tests first and keep revising your code - making plenty of mistakes along the way - until the tests are green.
The quicker the test failure feedback loop, the quicker you'll fix the mistakes :)
No comments yet
Contribute on Hacker News ↗