On 2/6/2014 2:15 PM, Brad Anderson wrote:
Personally I don't think bad user input qualifies as an exceptional case because it's expected to happen and the program is expected to handle it (and let the user know) when it does. That's just a matter of taste though.
It's not a matter of taste. If your input is subject to a DoS attack, don't put exceptions in the control flow.
