News for hackers. Stuff that matters.
Re:Why I’m Leaving Elm by christiansakai on Thursday April 09, 2020 @10:52AM (#22823089)
The learning curve to PureScript is way higher than Elm. Is that not that obvious?
Re:Why I’m Leaving Elm by mjepronk on Thursday April 09, 2020 @10:57AM (#22823147)
Do you think it is harder to learn than Ocaml/ReasonML though?

I think there is a good free introductory book [1], a welcoming community [2], the language and ecosystem are quite stable nowadays and there's good tooling (now that there's the Spago package manager).

[1] https://leanpub.com/purescript/read [2] https://discourse.purescript.org/

Re:Why I’m Leaving Elm by vchak1 on Thursday April 09, 2020 @01:08PM (#22824733)
It's definitely harder. I have been doing O'caml for about 20 years now, and we have probably one of the largest Elm apps out there. I looked at Purescript, especially because it also compiles to other languages (C++, BEAM) but the learning curve is a bit steep.
Re:Why I’m Leaving Elm by christiansakai on Thursday April 09, 2020 @01:28PM (#22824986)
Absolutely.

The 'Pure' is the problem here.

Re:Why I’m Leaving Elm by sli on Thursday April 09, 2020 @11:06AM (#22823228)
Not only is it nearly as high as Haskell, the PureScript guide hasn't been updated in years and is wildly out of date. You have to go searching for an unofficial rewrite, and those are incomplete as well.
Re:Why I’m Leaving Elm by samhh on Thursday April 09, 2020 @12:54PM (#22824551)
On the other hand, you can pretty much just learn Haskell to learn PureScript. All of the differences fit onto a single small docs page: https://github.com/purescript/documentation/blob/master/lang...
Re:Why I’m Leaving Elm by christiansakai on Thursday April 09, 2020 @01:26PM (#22824952)
Nope, not the same. You still need to learn how PureScript does things.

Also, these days no one want to learn Haskell just for sake of building UI. Just do it in JavaScript or TypeScript, far far far easier pill to swallow.

Yes I learned Haskell, Elm, and Rust

Re:Why I’m Leaving Elm by tmountain on Thursday April 09, 2020 @12:02PM (#22823826)
It is, but the community is pretty awesome and helpful, and anyone who knows Elm and takes the time to read at least one introductory Haskell book should be able to get productive pretty quickly.
Re:Why I’m Leaving Elm by christiansakai on Thursday April 09, 2020 @01:27PM (#22824976)
Still lost many hours for asking and debugging, if it ever get answered. Companies don't care, business don't care. They care about shipping feature, easy to find developers. Try explaining that to your PM or boss. In the end money talks.
Re:Why I’m Leaving Elm by tmountain on Thursday April 09, 2020 @01:52PM (#22825276)
I think using Elm, PureScript, or any technology that has a community orders of magnitude smaller than well established safer alternatives would be a dubious decision. I never advocated bringing either into a professional environment. I simply stated that there is a viable alternative if someone is looking to play in the space.
Re:Why I’m Leaving Elm by toastal on Friday April 10, 2020 @02:28AM (#22830512)
I've seen people suggest learning Elm as your stepping stone into PureScript, because it does a better job with the training wheels in the beginning.