Learning Haskell

December 19, 2010

In the process of putting together a presentation on functional programming, I've begun getting into Haskell a bit. It's a bit of a mindbender at first, but I'm enjoying it. For certain types of programming, it's an extrodinarily expressive language. Project Euler is a good example: I've started working through each of the problems, first in Python (a language I know) and then in Haskell. These kinds of math problems are places where a functional language can really shine, and I'm finding that even when judged against an imperative language that I think is particularly elegant like Python, the Haskell solutions often seem more, well...aesthetically beautiful. Fodder for a future blogpost, maybe.

Tagged with: .