Real world? As opposed to what?
Is there any benefit to answering such polemical questions as if they are not rhetorical?
Real world? As opposed to what?
Is there any benefit to answering such polemical questions as if they are not rhetorical?
The only time I had contact with Haskell was in university and I did not see it appealing back then, nor now, nor have I ever seen a program that I use, written in it.
So learning a bit of pure Haskell might have been beneficial for me to become a better programmer, but I still fail to see it being more than that - a academic language. Useful for didactic purposes. Less to actually ship software.
The only mass market Haskell software that I know of is Pandoc. Others like Shellcheck and Postgrest are popular in their niche.
I am not sure that Haskell is faring worse that other programming languages in its level of popularity, like Julia, Clojure or Erlang.
And since many programmers like myself had to learn Haskell, I think Haskell should have a better head start and be in a better position, if it would be so useful for "real world" use cases.
But please don't take this as an attack on haskell. I have nothing against the language, or its users and I did not suffered because of it in university, I am just curious on the appeal. Because I love clean solutions, but I also want to ship things. So part of me are wondering if I am missing out, but I so far I see not much convincing data. (But I am also mainly interested in high performance and real time graphics and haskell is really not the best here)
Which demonstrates my point. Someone with this attitude has already dug their heels in and made up their mind.
Haskell never got the “killer framework” like Rails or Spark that allowed to become more mainstream, even if it was teached in Universities all over the world.
But why is that the case?
Thinking about writing a "killer framework" with huskell gives me a headache. Doing UI in huskell? Eventloop? Callbacks? Is that even possible, without doing awkward workarounds?
There’s also scotty and servant for web server stuff.
There’s Esqueleto and Persistent for doing postgreSQL database queries.
And so on.
Even though they are biased:
"From a purely technical point of view, Haskell seems to be the perfect web development tool."
But I skimmed the tutorials and can say, I am really not surprised, why it did not take off.
The perfect web developement tool is simple in my opinion. Yesod isn't.