Matt Warren 12/20/2016

Why Exceptions should be Exceptional

Read Original

This 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.

Why Exceptions should be Exceptional

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week