Method Pointers

Ben Evans benjamin.john.evans at gmail.com
Sun Mar 25 10:20:58 PDT 2012


OK, I'll bite.

On Sun, Mar 25, 2012 at 2:23 AM, Neal Gafter <neal at gafter.com> wrote:
> The C# compiler goes to a tiny bit of trouble to make it so that in some
> cases when you evaluate the very same lambda expression twice (not written
> twice, but written once and evaluated twice) you get the same object.  But
> you can't rely on it.

Um, why?

What's the rationale for having a feature which only works some of the time, and
furthermore seems to only work in cases that overlap a lot with "cases
beginners
would try out, and then draw entirely wrong conclusions from"?

Ben


More information about the lambda-dev mailing list