Just sharing some of my inconsequential lunch conversations with you... RSS  

Friday, December 07, 2007

Great F# arguments!

Came across this great post from Harry Pierson about F#. He gives us a series of arguments that explain in a very simple way what we can get out of F#. Brief and efficient. A must. Here's one most developers can relate to:

In F#, I wrote a function called CacheAndTrace that takes a parsing function as a parameter and returns a new function that adds the caching and tracing code. Since the new function has the same signature as the original parsing function, the caller can't tell the difference but it saves me having to write the boilerplate code over and over again.

No comments:

Development Catharsis :: Copyright 2006 Mário Romano