Hacker News new | ask | show | jobs
by gwill 1561 days ago
given that amount of work(and maybe i'm just being lazy), wouldn't you prefer a unit test?
3 comments

A developer talking about preferring unit tests is never lazy !
If I can express something using the type system I'll always go with that first, so I don't even need the test to enforce the same contract.
What amount of work?