Lazy Evaluation Strategies in C#(patrickdewane.com)
submitted by
patrickdewane(205) 2 years, 9 months ago
This whole post started with Haskell. For those of you not familiar with Haskell, it's a wonderful functional programming language with quite a few interesting features you're not likely to find in modern programming languages. One of these features, and the basis for this post, is lazy evaluation of function arguments. Unlike Haskell, C# evaluates arguments eagerly. But why can't we have our cake and eat it too? Let's see if we can...
|category: C#
|Views: 35
tags:
C# another
Everyones tags:
Your Tags: