Browse by Tags

All Tags » F# » C# (RSS)

F# and the Dynamic Lookup Operator ala C# by podwysocki

In the previous post , we covered various scenarios around how we’d make the syntax around using the MongoDB C# Driver a little nicer and less stringy. And before that we looked at using and abusing these so called dynamic lookup operators . In the F#...
Filed under: , ,

Reactive Extensions for .NET (Rx) released on DevLabs by podwysocki

As you may have noticed, I’ve been blogging a bit about the Reactive Framework , now the Reactive Extensions for .NET (Rx) and how it will change the way we approach asynchronous and event-based programming. Just as LINQ to Objects changed the way we...

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 .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...

Which Is More Beautiful Architecture - FP or OOP? by podwysocki

Recently, upon the recommendations of a few people, I picked up a copy of the book “Beautiful Architecture: Leading Thinkers Reveal the Hidden Beauty in Software”. This book is a great read and includes essays from some of the top minds in software today...

RockNUG – 3/11/2009 – Functional Programming in .NET by podwysocki

I will be appearing this upcoming Wednesday at the Rockville .NET User Group (RockNUG) to give a presentation on Functional Programming in .NET. This presentation will focus on the basics of functional programming, but also why you should care and how...
More Posts Next page »