When I’m talking to people who are evaluating Haskell and trying to determine its risks, these things never come up. It’s always the same thing which can essentially be summed up as “library support”
The flaws Mitchell is addressing here real flaws that affect people that are already pretty deep in Haskell-land. All of the above still have unsatisfactory answers IMO, even though it certainly can be done.
Can I do MVC web dev?
Yes. Most of the Yesod apps I work on have models, controllers, and views. I used Clojure and Python (Django) before Haskell, so I know what people expect here and it’s fine.
How do I keep the code in sync with the database (migrations)?
http://hackage.haskell.org/package/persistent ( I streamed some of this and web dev last night: https://www.youtube.com/watch?v=uYXX1t3GrsE )
How do I do performance (response time) monitoring?
Can I still use papertrail (or similar logging aggregation/search service)?
http://hackage.haskell.org/package/katip-elasticsearch + treasure or whatever you want really.
What’s the equivalent to getsentry.com for haskell?
Sentry. http://hackage.haskell.org/package/raven-haskell Might could use some fixing up, but I’ve used this in prod and it was fine.
How do I do continuous deployments from <my favorite CI service>?
rsync a binary from your CI build/run ansible, bounce the upstart daemon. Our deployment stuff is in Ansible.
Also see: http://haskelliseasy.com for other questions like this.
In my opinion, Haskell is a language completely suitable for production if you want to use traditional paradigms.
But Haskell has a lot more to offer.
There are many paradigms shift done in Haskell.
For example, you can take a look at transient (see this recent thread for example):
You might dislike the syntax, and believe that the example is quite minimalist.
But it show that while MVC has its virtues, it is not the alpha and omega of web development and there can be another way of thinking about a web application as we are used to.
TLDR: Package Management, IDE, Space leaks, Array/String libraries
I’d have to say, for me after rough package management and missing libraries, you’ve already lost my interest. It’s a neat toy until either package management gets fixed or the community finds a better way to share libraries.While I’ll miss the stricter enforcement of functional style I can always use F# with a linter, at least nuget/paket consistently works.
Cabal is similar to raco pkg or easy_install. Stack is definitely better than pip. And you get to know when upstream screwed up and broken their API instead of learning it that hard way as in dynamically typed languages.
Yeah package management imo is pretty much as good as any other language. Better in some ways as things actually break due to the types if things change. You notice pretty fast.
IDE, I use emacs, so eh. Space leaks are annoying, but if you start using strict everywhere its not too bad I find. And Array/String nonsense is legitimate, though the upcoming backpack work should mitigate this not?
I’m not saying haskell is without warts, but for a language as old as python its doing pretty good.
If you read the post, you’d know that he said some of those things weren’t problems or have been attenuated, or have good solutions coming together.
For day to day work, nothing is a blocking issue and never has been for me. People were building successful startups on Haskell many years before I started and back then things were worse across the board despite the language itself being a substantial advantage.
Why do people do this slanted tl;dr thing? Is this a real attempt on your part at being constructive? (Sincere question)
It is short for “too long, I didn’t read” - how can you be constructive after that?
no it’s not - in this usage it’s short for “if you’re inclined to tl;dr the article, here’s a quick summary”. the “dr” is on the reader’s part, not the commenter’s.