Rx framework – IObservable<T>.Merge

In my previous post I used the IObservable<T>.Zip extension method in the Drag-and-Drop example, which takes two observable collections and runs a function over them to return a new observable collection of potentially a different type. But what if you just want to simply merge the two observable collections into one stream? Well, Rx API …

Rx framework – IObservable<T>.Merge Read More »

Linq Over Events – Playing with the Rx Framework

As you may have read about on numerous MVP’s blogs already, there’s an ongoing research project at Microsoft’s DevLabs called Reactive Extensions for .Net (Rx) which introduces a push-style duality (equal and opposite) of the traditional pull-style enumeration using Linq. Erik Meijer gave a 30 mins introduction to the reactive framework in this video, I …

Linq Over Events – Playing with the Rx Framework Read More »

OO vs Functional vs Dynamic vs Static

Whilst fishing around StackOverflow for interesting discussions I came across this question on which programming paradigm is best for which job. There were some interesting arguments put forward, and after doing some more reading here are the two things I took away: Language != Paradigm What paradigm (procedural, OO or functional, etc.) you choose to program …

OO vs Functional vs Dynamic vs Static Read More »

Buzzword Buster – Duck Typing

The term ‘duck typing’ is often used to describe a type of dynamic typing in programming languages where the object’s current set of methods and properties determines the valid semantics. Why? duck test – If it looks like a duck, swims like a duck and quacks like a duck, then it probably is a duck

LINQ – Lambda Expression vs Query Expression

As you’re probably aware of already, LINQ comes in two flavours – using Lambda expressions and using SQL-like query expressions: Both yields the same result because query expressions are translated into their lambda expressions before they’re compiled. So performance-wise, there’s no difference whatsoever between the two. Which one you should use is mostly personal preference, …

LINQ – Lambda Expression vs Query Expression Read More »

Buzzword Buster – Stylesheets, XSL and XSLT

Stylesheet A Stylesheet language or style language, is a computer language used to describe the presentation of structured documents. A structured document which doesn’t break the schema it is designed to conform to is “well-formed”. One modern Stylesheet language with widespread use is Cascading Style Sheets (CSS), which is used to style documents written in …

Buzzword Buster – Stylesheets, XSL and XSLT Read More »

The Stack, The Heap And The Memory Pitfalls

In the last couple of days or so I have spent some time reading Karl Seguin’s excellent and FREE to download ebook – Foundations of Programming which covers many topics from dependency injection to best practices for dealing with exceptions. The main topic that took my fancy was the Back to Basics: Memory section, here’s …

The Stack, The Heap And The Memory Pitfalls Read More »

Pattern for dealing with null handler for events in C#

If you’ve used events in C# before, you’ve probably written code like this too: This is perfectly ok and normal to do, but can quickly become tiresome if you have to fire events in multiple places in your code and have to do a null reference check every time! So instead, I have been using …

Pattern for dealing with null handler for events in C# Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close