The Evolution of a Haskell Programmer
I found this link about The Evolution of a Haskell Programmer quite interesting. It shows a bunch of different approaches to write the well known factorial function in different ways using Haskell. It ranges from the simple pattern-oriented implementation, to confusing implementations with more than 30 lines of Haskell code. And always, always with a brilliant sense of humor.
Let me show you a little of that article:
Senior Haskell programmer
(voted forNixonBuchananBush -- "leans right")fac n = foldr (*) 1 [1..n]Another senior Haskell programmer
(voted forMcGovernBiafraNader -- "leans left")fac n = foldl (*) 1 [1..n]
Brilliant ;)
a real walk down memory lane.