Hacker News new | ask | show | jobs
by Clubber 3065 days ago
Everyone makes mistakes, the trick is catching them before you release to QA. In your math example, you should have some sort of test harness that tests your method against known inputs and outputs. It can be as simple as a throwaway console app.