Tag Archives: C#

Asynchrony, Concurrency and Parallelism

0 Index 1 Introduction 2 Microsoft .NET 2.1 Reactive Extensions for .NET (Rx) 2.2 Async 2.3 F# First-Class Events 2.4 Five-Spice Powder 3 Google Go 3.1. The Language 3.2 Practical Matters 3.3 Origins 4 References 1 Introduction Concurrency and (orthogonally) … Continue reading

Posted in Computer Science, Declarative, Imperative, Paradigm, Software, Technical, Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

Pixels en masse

In this post I’ll show you how to do image processing in 50 lines of C# code, or less. To do this, we’ll need a few trustees: Microsoft .Net, our software platform of choice LinqPad, our software environment of choice … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Trust, but verify

1. Prelude Today, I want show how one of the best query tools in the world, can be used to easily and quickly create integration tests for workflow services. These integration tests will seamlessly automate the testing and verification of … Continue reading

Posted in Computer Science, Datamodel, Declarative, Imperative, Paradigm, Program, Software, Technical | Tagged , , , , , , , , , , | Leave a comment

An anti-pattern: return w/ out

Eric Lippert, a member of the C# design team has an excellent little factoid about the C# cast operator and how some code can lead to surprising results. I’d like to take a step back and examine the problematic code … Continue reading

Posted in Software, Technical | Tagged , , , , , , , | 2 Comments

Nine ways to (not) die

1. Assignment I recently came across a forum post by a student asking for help with his assignment on the Channel 9 forum. I don’t normally respond to such requests, not to be unhelpful but out of boredom and laziness. … Continue reading

Posted in Computer Science, Datamodel, Declarative, Imperative, Paradigm, Program, Software, Technical, Uncategorized | Tagged , , , , , , , , , , , , , | 2 Comments

Lazy Evaluation in C#

Laziness,or Deferred Execution as it is called in C# ,is the program behavior that an expression is not evaluated before its value is needed. In C# this is made possible natively through iterators which the C# compiler transforms into state … Continue reading

Posted in Computer Science, Declarative, Imperative, Paradigm, Software, Technical | Tagged , , , , , , , , , , , , | Leave a comment

Application of Implication

There is a very useful concept in linguistics and logic called entailment. One says that a implies b or a entails b meaning that if a is true, then b must also be true, or the whole expression is false. … Continue reading

Posted in Computer Science, Declarative, Paradigm, Software, Technical | Tagged , , , , , , , , , , , , | 2 Comments