Dave's 'unofficial' Framework Design Guidelines

Over the years of developing on the .NET platform and sitting in on API and code reviews, I’ve seen the same API design mistakes being made over and over again. To attempt to counteract this, I’ve started writing up the most common ones that I encounter, but are not already caught by FxCop (a team that I used to work on), or covered in the very good and very extensive Framework Design Guidelines (which my new team happens to own).

Now while these posts will be written up in the same style as the Framework Design Guidelines, don’t be fooled – these are not official guidelines in any way. Take them for what they exactly are – just my own personal opinions.

Guidelines

ArgumentException Throwing Guidelines
String Usage Guidelines
Array, Collection, IEnumerable<T> Usage Guidelines

Published Tuesday, June 17, 2008 7:00 AM by David Kean

Comments

Tuesday, June 17, 2008 11:38 PM by Dave's Box

# ArgumentException Throwing Guidelines

Please read this first: About Dave’s ‘unofficial’ Framework Design Guidelines . þ

Monday, June 23, 2008 7:55 AM by Dave's Box

# String Usage Guidelines

Please read this first: About Dave’s ‘unofficial’ Framework Design Guidelines . ý

Saturday, December 13, 2008 2:40 PM by Dave's Box

# Array, Collection, IEnumerable<T> Usage Guidelines

Please read this first: About Dave’s ‘unofficial’ Framework Design Guidelines . þ DO treat a null reference

Thursday, December 18, 2008 4:18 PM by gOODiDEA.NET

# Interesting Finds: 2008.12.12~2008.12.18

Web 10 Ways to Cut Down Web Development Time JavaScript Inheritance via Prototypes and Closures How to