Lazy Evaluation Strategies in C#(patrickdewane.com)

submitted by patrickdewanepatrickdewane(205) 3 years 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...

add a comment |category: |Views: 37

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story