Hacker News new | ask | show | jobs
by acdha 4489 days ago
> The first thing you do when hacking together a stupid exchange for a joke e-currency isn't writing unit tests.

As soon as you write anything where a bug causes money to change hands, even on a laugh, you write some tests.

1 comments

No kidding, I would be so freaked out not writing tests the second money is involved. I just don't understand why he didn't bother to hire some help when things got bigger.
That's the part I don't understand – I'd be scared witless at the thought of not having tests for anything moving money out of my accounts. When you have millions in those accounts, even a really expensive developer is cheap insurance…