|
-
Jun 4th, 2009, 03:03 PM
#20
Re: When NOT to use Structured Exception Handling
I wouldn't use exception handling at all in that case. While it is quicker to write the code to use exception handling, the situation is not exceptional. Some systems take noticeable time to throw even a single exception. Therefore, using exception handling in place of testing for invalid conditions with an If statement, will have a noticeable negative impact on performance.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|