Why Exceptions should be Exceptional
Read OriginalThis technical article discusses the .NET Framework design guideline that exceptions should be exceptional (rare). It explains the TryXXX pattern for avoiding exceptions in normal flow, provides benchmark data comparing exception performance to error code handling, and emphasizes that while exceptions are slower, their cost is negligible if used correctly for truly exceptional cases.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser