Random header image... Refresh for more!

The Extendables

And when your example code relies on extension methods, please make sure that you have the namespace which contains those extension methods references.

I am so ready to take the Baseball Bat of Great Justice and hand out a Beat Down Of Many Angers on these people.

Listen, it’s simple:

  • .Net 3.0 was largely a mistake.  var and extension methods were part of that mistake.  Don’t use var and extension methods all over the place.  If you don’t know the right place to use them, don’t use them at all.
  • THE DOCUMENTATION MUST NOT SUCK.  No documentation is often better than bad documentation.
  • CODE SAMPLES MUST COMPILE.  You have to realize that people are going to copy and paste whatever is on your page and try to compile it.
  • The easiest way to meet the requirements of THE DOCUMENTATION MUST NOT SUCK and CODE SAMPLES MUST COMPILE is to write a sample class, test it, then paste the entire class into your page.



There are no comments yet...

Kick things off by filling out the form below.

Leave a Comment