Browse by Tags

All Tags » F# » C# (RSS)

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

Much Ado About Monads – List Edition by podwysocki

In the previous installment in my quest to make monads a little more approachable, I covered the maybe monad and how it can apply as a general design pattern for dealing with lookups that may or may not succeed. We covered how as a functional design pattern...

Fun with Folds by podwysocki

As I’ve announced earlier, and if you follow me on Twitter, I’ve been doing a bit of Haskell lately through the Real World Haskell book club that I started. Most recently, through our learnings, we have been covering the basic fundamentals of functional...
More Posts Next page »