Discover a new way to find and share stories you'll love… Learn about Reading Desk

Post Profile



Taming Your Sequence’s Side-Effects Through IEnumerable.Let

Introduction Side-effects don’t fit together very well with functional-style delayed computation, as observed in LINQ. Having such constructs embedded in an otherwise eagerly evaluated imperative language like C# can cause quite some confusion from time to time. A few samples (due to Erik Meijer) of such “mishaps” are shown below: // // When does it throw? // IEnumerable res = null; try {     res = from x in Enumerable.
read more

share

LINQ to Objects - Debugging

Technology / Programming : B# .NET Blog (5 years ago)

Introduction Declarative language constructs like query comprehension syntax often worries imperatively trained developers. I hear this quite a bit, and the excuse of “It Just Works” is often not satisfactory for most of them :-). C... Read Post

Four short links: 19 December 2014

Technology : O'Reilly Radar (2 days ago)

Distinguishing Cause and Effect using Observational Data — research paper evaluating effectiveness of the “additive noise” test, a nifty statistical trick to identify causal relationships from observational data. (via Slashdot) Clus... Read Post

Functional Vs Imperative language paradigms

Programming / Windows Development : CodeProject (3 days ago)

These days, i am in deep love with Microsoft’s F# language and Apple’s Swift language.F# on one side has picked the good parts from Functional languages like ML and oCaml + Imperative languages / Object-Oriented language like C#. Sw... Read Post


Copyright © 2011 Regator, LLC