News for hackers. Stuff that matters.
Re:A Year of Functional Programming by pron on Monday June 09, 2014 @08:57AM (#7868204)
Again, I was referring to that type of FP the author was talking about, i.e. the one practiced in Haskell/scalaz. Everything you mention is useful. But just to play devil's advocate for a second, the mere fact that something is useful does not always mean that it's worth its price. So whenever you give me a "solution" you first have to demonstrate the magnitude of the problem and the price I have to pay elsewhere. Simple map and reduce operations certainly have a non-negligible utility (more readable code, better reuse), and they do come at a low cost. But elaborate type systems and restriction of side effects cost a hefty price, so they need to justify their use a lot more than just show that they're useful.
Re:A Year of Functional Programming by Touche on Monday June 09, 2014 @09:19AM (#7868291)
You really should have said this from the start. Instead of:

> I used to like functional programming.

you should have said

> I used to like Haskell.

It's caused a lot of confusion in this thread. Also, I think it's unfair to compare Haskell vs. Every Other Programming Paradigm. Because by doing so you are only picking and choosing parts of other paradigms which work as well as the Haskell equivalent and not judging the whole of Haskell vs. Language X.