Adam Ralph 12/21/2014

Guard Clause Abuse

Read Original

The article critiques the common overuse of generic guard clauses (like ArgumentNullException) in software development. It argues that validation rules stemming from the application's domain should throw specific business/model exceptions instead, using a Car class example to illustrate the proper approach.

Guard Clause Abuse

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