Obvious low-severity bugs
If you can use a type checker such as Flow to remove the insidious errors that creep up on you as a result of bad types, you're left with high-level application bugs. These bugs are obvious when they happen because the application is simply wrong. It produces the wrong output, it computes the wrong number, one of the screens doesn't load, and so on. You can more easily see and interact with these kinds of bugs. This makes them obvious, and when bugs are obvious, they're easier to track down and fix.
On the other hand, you have bugs that are subtly wrong. These can result from bad types. What makes these types of bugs particularly horrifying is that you don't even know something is wrong. Something with your application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access