News for hackers. Stuff that matters.
Re:On Marketing Haskell by ashtonkem on Sunday May 31, 2020 @12:50AM (#23367277)
I no longer think it's a chicken and egg problem with Haskell, and more of a goals & culture problem. Libraries like lens and parseq have a huge amount of effort put into them, probably more than what it would take to create a good HTTP client library. The problem is that creating industry friendly libraries is apparently not a goal that the Haskell community has.
Re:On Marketing Haskell by nilkn on Sunday May 31, 2020 @01:35AM (#23367453)
> The problem is that creating industry friendly libraries is apparently not a goal that the Haskell community has.

I don't think that's a fair take. Haskell started as a research language, and it's only in the 2010s really that it started taking off and becoming more and more practical. That's because people invested lots of effort in libraries like lens (and many others). Haskell didn't even have a strong build system until Stack popped up in the mid-2010s. Frankly these were bigger priorities. These things had to be solved first in order to transition Haskell from a research experiment in lazy evaluation into a real-world tool.

In 2020, outside of maybe dependent types, the community is probably more concerned with practicality and pragmatism than ever before. There's a huge focus right now on improved IDE support, for instance.

Re:On Marketing Haskell by ashtonkem on Sunday May 31, 2020 @10:21AM (#23369744)
10 years should be enough time to get a working IDE and a good starting set of libraries, and my personal experience is that Haskell has neither.
Re:On Marketing Haskell by nilkn on Sunday May 31, 2020 @01:30PM (#23371028)
Maybe you ran into an issue where there still isn’t a decent starter library, but there are actually tons of great ones out there that we’ve used to build production services. So I can’t say I really know what you’re talking about in general.

Language server support is a recent trend, and it’s being worked on for Haskell just like it is for everything else.

Re:On Marketing Haskell by pwm on Sunday May 31, 2020 @06:54AM (#23368673)
People put energy into what's most useful for them and I don't think they should be blamed for this. I'm sure I'm biased but Lens and Parseq (and its successors) are both amazing libraries solving real problems in a powerful way. You probably don't agree and that's perfectly fine by me. I'd also go as far as saying that the 2 libs you've picked actually have pretty comprehensive documentations as well which is not always the case with Haskell libs (a real problem I 100% agree with btw).
Re:On Marketing Haskell by ashtonkem on Sunday May 31, 2020 @10:30AM (#23369794)
I’m not blaming them, mostly, but I am pointing out that what they’ve put their effort is not consistent with industry usage. Parsec is neat, but parsing is a relatively niche industrial need, and lens sits somewhere between PL research and “solving problems that only Haskell has”.

They’re fine libraries, they’re just not what I want to see if you’re trying to convince me to replace Java with Haskell at work. If I was looking to write a compiler however...

Re:On Marketing Haskell by wirrbel on Sunday May 31, 2020 @08:13AM (#23369041)
I think when framing it as a chicken and the egg problem, haskell communities take on it is that you don't need a nest for the chicken to hatch in.

Brutalist Software engineering.

Re:On Marketing Haskell by ashtonkem on Sunday May 31, 2020 @10:18AM (#23369735)
Usage based data implies that you actually do need a nest for an chicken to hatch in.

If you want chickens to hatch reliably, you need a coop too.