Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 767937 thumbnail
User 225256 avatar

By mswatcher
via blog.ploeh.dk
Published: Mar 29 2012 / 11:29

From time to time I encounter people who attempt to express an API in terms of IQueryable>. That's almost always a bad idea. In this post, I'll explain why. In short, the IQueryable> interface is one of the best examples of a Header Interface that .NET has to offer. It's almost impossible to fully implement it. Please note that this post is about the problematic aspects of designing an API around the IQueryable> interface. It's not an attack on the interface itself, which has its place in the BCL. It's also not an attack on all the wonderful LINQ methods available on IEnumerable>.
  • 3
  • 0
  • 588
  • 97

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)