Web Development - What's Worse: A False Positive Or A False Negative? Scenario Planning Helps Minimize The Damage

As a Web developer, you probably know that even with perfect code, a number of factors can get you in trouble - different browsers, adventuresome users, and other developers changing things. That's why it's good to do some "What if..." scenarios. For example, if your code checks for a certain condition, consider the potential consequences of failure: Is it worse if your code reports finding something that isn't really there (false positive)? Or is it worse if your code fails to detect something that is there (false negative)? By analyzing potential scenarios from the user's perspective, you can guide your programming decisions and error-handling to minimize the damage when things go wrong.

Go back