Functional programming is shit
You're throwing away basically all progress is computer science by using a language in which an efficient implementation of quicksort is impossible
>idiomatic functional programming
>>55177213
Wow, Scala is faster?
>>55177497
Pointing out fuckery especially on an anonymous platform is rewardless work, just know you're doing God's work
Functional programming is really a tool for a specialized kind of problem. When you look at it that way, I don't think there's anything wrong with it, just like I don't think there's anything wrong with COBOL or Prolog when they're used for what they're designed for.
Functional languages like Coq are good for proving mathematical theorems.
But you're right about "throwing away basically all progress in computer science."
https://unqualifiedreservations.wordpress.com/2007/08/02/whats-wrong-with-cs-research/
>>55177213
>>55178860
The original motivation for functional programming had to do with running programs on more parallel kinds of hardware like a dataflow machine or an FPGA.
https://www.cs.york.ac.uk/fp/reduceron/
http://www.clash-lang.org/
>>55179877
>COBOL or Prolog when they're used what they're designed for
I doubt the creators of COBOL and Prolog intended for their languages to be used solely for maintaining legacy code