Browse by Tags

All Tags » C# (RSS)

Introduction to the Reactive Framework Part II by podwysocki

In my previous post , I talked a little bit about the parts of the Reactive Framework that are coming to the .NET 4 BCL as well as their implementation in F# as part of F# First Class Events. This time, let’s come back to the Reactive Framework itself...

Introducing the Reactive Framework Part I by podwysocki

During my series about first class events in F#, I made frequent mention of the LiveLabs Reactive Framework (Rx), without going into much detail as to what it is. Now that the series is complete and we understand both how F# first class events work, as...

Generically Constraining F# – Part I by podwysocki

Generic constraints inside .NET has always been a fun enterprise, especially given how C# handles them There has been some discussion on Jon Skeet’s blog about the fact that C# does not allow for generic constraints referring to a number of types. These...
Filed under: ,

The “Anti-For” Campaign by podwysocki

Recently, there has been an effort launched called the “Anti-If Campaign” in which they deride the use of if statements and instead, focus on Object Oriented Principles in order to create more flexible designs. Now certainly, I have a sympathetic ear...

Functional C# – Reverse Functional Composition by podwysocki

In the previous post, I covered currying as well as left to right functional composition. I showed that with a few extensions methods to our functions, we can create rich, albeit verbose, solutions through functional composition. But, what about going...

Functional C# – Forward Functional Composition by podwysocki

In the last post , we talked about partial application and currying with respect to functional composition. I showed the power of functional composition in regards to a real-world example of how to calculate a book price given the chain of potential discounts...

Functional C# – Composing Through Partial Application by podwysocki

Earlier this week, I was challenged on Twitter to give a practical example of currying in C#. This was a great question, because outside of the normal add and multiply people tend to do, there isn’t much out there. This was also a question brought up...

Functional .NET – Lose the Magic Strings by podwysocki

In this current series that I’m running as a follow-up to my presentation last week on Applied Functional Programming, we’re talking about ways we can improve our code with functional techniques. The ideas presented here are things that are being used...

Functional .NET - Laziness Becomes You by podwysocki

In the previous post, I talked about some of the basic ideas you can learn from Functional Programming and apply to your code right now. The first topic that was tackled was extensibility through the use of closures . Today, I’ll cover laziness in your...

Functional Programming in .NET – Adding Extensibility by podwysocki

Thanks for everyone who attended my session on applied functional programming earlier this week at RockNUG . This session was intended to reinforce the basics of thinking functionally and what techniques you can do right now to take advantage. It was...
More Posts Next page »