Tuesday, March 18, 2008

Design Guidelines for Extension Methods and LINQ'ers

I'm a huge fan of the .NET 3.5 language extensions. I want more: give me mix-ins, please!

Ingrate that I am, I think perhaps we should celebrate what we have before resuming our whining ways. And we should take stock too ... because new technology invites abuse.

"With great power comes great responsibility". My spidey sense is tingling already as villainous extension methods threaten the city. Wanna fight back?

Check out these new design guidelines, specifically for extension methods and LINQ implementations, from the good folks at Microsoft who brought us the invaluable Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries.

Don't have this book? Go get it and discover not just what is recommended but why. The guidelines are not perfect ... as evidenced by recent debates on the relative merits of interfaces and abstract classes ... but I love 'em nonetheless. 'Nuf said.

2 comments:

Anonymous said...

Excellent. BTW...The design guidelines link is not working, its appending your url

http://blogs.msdn.com/mirceat/archive/2008/03/13/linq-framework-design-guidelines.aspx


Been waiting for the 2nd edition of the FDG. Hoping it will be packed with all the new good stuff.
http://www.amazon.com/Framework-Design-Guidelines-Conventions-Development/dp/0321545613/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1200508590&sr=1-2

Anonymous said...

Will i be able to use my home router on my iphone/ipod touch to browse the internet for FREE?
[url=http://unlockiphone22.com]unlock iphone[/url] [url=http://www.daxraser.de/gfx/forum/viewtopic.php?f=2&t=8469&p=40938#p40938]unlock iphone[/url]