Re:Scala for Project Euler
by sigmaxipi on Wednesday December 15, 2010 @02:40AM
(#2007382)
Compare this with two python solutions. The first was when I was learning python and is similar to how I would solve it in C. The second is a copy of that haskell solution:
I find the first one much easier to comprehend even though they do the same thing and use the same general algorithm of reduce()ing the rows. In general, I find procedural code much easier to read when I take a look at it months down the line.
[ Parent
| on HN ]
There are no comments on this comment yet.