Posts Tagged ‘Functional programming’

A new beginning (and a new WordPress plugin)

{ Posted on Dec 01 2009 by claudio }
It is never easy to write the first post of a blog, fortunately for me it is already the third time and actually the second for this very blog. After three years of my first encounter with the blogging world I ...Read More »

Functional programming interview question

{ Posted on Aug 26 2009 by claudio }
I think that examining the hiring process of a company you can understand a lot of what would be working there. As Joel Spolsky wrote, you should only hire people who are Smart and Get Things Done and a good way ...Read More »

Project Euler in F# – Problem 20

{ Posted on Jan 29 2008 by claudio }
Project Euler's Problem 20 was trickier than I expected. I'm quite sure that there is a smart solution, but there is also a "dumb" one and this is the one I'm going to present you. The problem says: n! means n × (n ...Read More »

Project Euler in F# – Problem 9

{ Posted on Jan 25 2008 by claudio }
Today's exercise is Project Euler Problem 9, that says: A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a² + b² = c² For example, 3² + 4² = 9 + 16 = 25 = ...Read More »

Project Euler in F# – Problem 1

{ Posted on Jan 18 2008 by claudio }
I'm going through two parallel roads to learn F#: I read the "Foundations of F#" book written by Robert Pickering for the theoretical aspects and then I practice writing some code challenging myself with the problems proposed by Project Euler. There ...Read More »

let title = "Hello World"

{ Posted on Jan 15 2008 by claudio }
When I was attending the first year of my university course, a teacher of mine used Haskell to teach us the basics of software development. It was amazing, functional programming makes you think differently about programming. In the functional paradigm functions are ...Read More »