Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by comprev

7 months 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 :)

0 comments

comprev

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities