What's your strongest opinion against functional programming?
softwareengineering.stackexchange.com
softwareengineering.stackexchange.com
In fact, most of the time I encounter one of these closed questions, it was precisely the question I was curious about.
I just don’t understand why they do this.
> As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion.
Questions like this, although very interesting, just don’t fit the Q&A format they are promoting, where they aim to be free of debate and opinion.
What a ridiculous, hostile system.
Real programs typically need to manage resources besides memory. So, they look good depending on GC for toy problems, but fail to graduate from their sandbox.
The only powerful languages not dependent on GC are C++ and Rust. They have facilities to manage any resources needed, and that are equally adept at managing memory.
As a consequence, it is possible to write libraries for these languages that can work in any program.
Programs in obligate-GC languages always need to compromise some aspect of GC to be practical, but that makes them incompatible with the majority of libraries. Thus, you don't see good library ecosystems grow up around them.
A functional language that did not depend on GC could be useful, but academics would kneecap it immediately. Academia absolute detests the idea of non-obligate-GC languages, for purely tribal reasons.
Whereas "straight-forward CRUD app" is more about interacting with the outside world, which is harder to do in Haskell compared to, say, Go.
HN discussions 2018 https://news.ycombinator.com/item?id=17114308 2017 https://news.ycombinator.com/item?id=13450828
"If Haskell (or XYZ) is so great, why hasn’t it taken over?"
"The simplest explanation is probably that Haskell is not that much better than, say, Java,"
"for many of the software systems people write today."Time is pretty critical to physical reality, one way or another, and the closer you get to it with lower and lower-level language systems, the harder it is to ignore.
It seems to me there needs to be some very basic computational/mathematical theory that integrates time more fundamentally into language/instructional design without being procedural per se. There probably is one but I don't know what it is, or am not recognizing it for what it is.