2 ms·
This post is a very, very nice proof of my feeling, that FP is usually not used due to the hassle of getting data into the program in a functional language. I
by tetha 17y ago
This post is a very, very nice proof of my feeling, that FP is usually not used due to the hassle of getting data into the program in a functional language.
I mean, c'mon. Who was not confused by Haskells IO?
And now, compare this with "foo = input()", or "bar = scanf("%d");". Bam. All the benefit of nice functional notation for the algorithms superseded by the hassle of getting data from the outside into the program (or, the very small hassle (seen relatively) to do so in imperative languages.