Do not control the flow of your code using Exceptions

This is old news, but I constantly see code that does this.  You would think that the name Exception would make the intent of exceptions clear.  Don't throw an exception when a simple condition check would do.


Post a Comment