Skip to content

Instantly share code, notes, and snippets.

@ilkerde
Created March 10, 2011 17:26
Show Gist options
  • Save ilkerde/864508 to your computer and use it in GitHub Desktop.
Save ilkerde/864508 to your computer and use it in GitHub Desktop.
What do you think about the type signature of this method ?!?
public IEnumerable<Answer> GetAll()
{
List<Answer> answers = GetAnswers();
return answers;
}
@ilkerde
Copy link
Author

ilkerde commented Mar 11, 2011

@forki Thanks indeed for your in-depth and thoughtful comments.
I do believe that I would have never achieved to express the importance of materialization (and even more, preserving the materialization information by type signature) as you did in your comment.

At this point, I'd like to thank all of you for lending your time and brain for my little question. It was very valuable and insightful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment