4 ms·
i'm always surprised that PureScript doesn't get as much attention as Elm, despite being frequently-updated by a large set of contributors (https://github.com/p
by dimator 4y ago
i'm always surprised that PureScript doesn't get as much attention as Elm, despite being frequently-updated by a large set of contributors (https://github.com/purescript/purescript https://github.com/purescript/purescript), awesome docs (https://book.purescript.org/ https://book.purescript.org/, https://github.com/JordanMartinez/purescript-jordans-reference https://github.com/JordanMartinez/purescript-jordans-referen...), and a pretty large package catalog (https://pursuit.purescript.org/ https://pursuit.purescript.org/).
- aeturnum 4y agoWhat drew me into Elm was their focus on demonstrating how using elm would let you build web interfaces a different way. PureScript seems technically interesting but I don't feel like their current website "pitches" me on how I might want to use it.
- dimator 4y agoi agree, Elm gets you from "here's the language" to "ok, now here's a site" much faster, in both the docs and the language architecture. purescript does have some options to model the elm architecture, though, for example: https://github.com/collegevine/purescript-elmish https://github.com/collegevine/purescript-elmish
- dmix 4y agoIs PureScript stable/matured yet? I got burned trying to make a side-project with it when the API was still in flux and making major changes and tons of my dependencies no longer worked when I came back to it and wanted to update. The primary barrier will always be the learning Curve. Elm was always more accessible than PureScript which seemed like a first learn Haskell before you sue it type of thing.
- mrkeen 4y agoI couldn't get past its build systems. I ended up looking at pulp, npm, bower, yarn, webpack and parcel but couldn't figure it out. Someone said 'use spago' (hooray! another package manager!) but no luck either.
- bananarchist 4y agoThe Elm Architecture is the main reason I choose it over PureScript. I know there are PS implementations, but it just works that way at a fundamental level in Elm.
- poleprediction 4y agoI wrote a blog post https://blog.poleprediction.com/clr-purescript-elm https://blog.poleprediction.com/clr-purescript-elm about this kind of thing. The main sentence of relevance is "All libraries written for Elm, assume that the consumer is writing their application using TEA." It is semi-regularly noted in the Elm community that Purescript is a good counter-factual for Elm. Many requests for greater flexibility, such as access to kernel code for non-annointed libraries, have the pretty decent answer "well if you want that, go try Purescript". Purescript, though, is just a sort of closest-cousin here. I'd say most languages have a philosophy closer to "we're all adults here, anything goes, the more we let innovators innovate, the more productive we'll ultimately be". That's not to say the Elm approach is 'better' in any sense, but it does mean that it's a worthwhile experiment. It's different from most other languages in that it's way more restrictive. Those that ask for changes in Elm's approach, obviously have some other reason for wishing to use Elm, otherwise they wouldn't wish for Elm to change, they would just use something else. But those must acknowledge that whatever it is about Elm that is attracting them, may be as a result of Elm's unusual approach.
- b0afc375b5 4y agoI tried learning PureScript once but I made the mistake of going down the math rabbit hole. I never got to use it to create frontend apps.