Hacker News new | ask | show | jobs
by lostmsu 369 days ago
> But if you test for those invalid states, the reasons are expected

I am arguing against your claim that this particular suggestion is feasible for anything but toy projects.

2 comments

Exactly what I'm talking about:

https://erikras.com/blog/final-form-to-typescript

"Of course, it helped that long ago I had put in all of the legwork to have near 100% test coverage, so I could be certain that the migration did not introduce any bugs."

Suggesting that tests are only for toy projects is some weird kind of ego troll thing you've got going. Look inward.