Hacker News new | ask | show | jobs
by HideousKojima 911 days ago
That's just doubling your work. If you don't already have a spec, your unit tests and actual code are essentially the same code, just written twice.
1 comments

Determining which states are authentically hazardous and mocking data and adjacent services to make those states accessible at the press of a button is definitely not the same as writing code which handles those states appropriately.