News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by coldtea on Wednesday May 06, 2015 @10:31PM (#9503004)
>I agree these are just claims, but when I look at the something like the following it is hard not to see the power that comes from simplicity.

What simplicity? That's even more complex to state than the traditional imperative solution, that's also closer to how mathematicians would write the equation.

Re:Why functional programming matters (1990) [pdf] by istvan__ on Wednesday May 06, 2015 @10:51PM (#9503048)
I think you are confusing two things here.

- calculating the n-th element of the Fibonacci sequence - representing it correctly in code

The first one is (assuming the second is present, see code above):

(nth (fibo) 10)