News for hackers. Stuff that matters.
Re:What's your strongest opinion against functional programm... by rgoulter on Tuesday April 09, 2019 @04:36AM (#19612811)
https://pchiusano.github.io/2017-01-20/why-not-haskell.html I found this argument compelling: Haskell is good for programs like compilers: they do many interesting things but without needing to interact with the outside world as much.

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

Re:What's your strongest opinion against functional programm... by cheekybillberry on Tuesday April 09, 2019 @09:43AM (#19614501)
I've never really thought about it quite this way before, but: pure functional systems basically want to ignore time. In some contexts this is ok or even desirable, but in other contexts it is counterproductive and futile.

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.

Re:What's your strongest opinion against functional programm... by dwenzek on Tuesday April 09, 2019 @08:33AM (#19613919)
I like how Paul Chiusano answered the main question:

    "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."
Re:What's your strongest opinion against functional programm... by chopin on Tuesday April 09, 2019 @05:19AM (#19612978)
The most involved part of a CRUD app is writing data and checks around it. This "checking" part can be written with little interaction to the outside world.