News for hackers. Stuff that matters.
Re:Why Elm? [pdf] by azangru on Monday May 08, 2017 @03:21PM (#14294715)
I am surprized Elm gets talked about so much more than Purescript. Although Purescript is more of a general-purpose language and feels like Haskell that compiles to Javascript, and Elm is something that relies on its specific runtime to work.
Re:Why Elm? [pdf] by systems on Monday May 08, 2017 @04:14PM (#14295176)
Well, I think with so many language trying to replace javascript (purescript, coffeescript, livescript, clojurescript, bucklescript, dart, typescript .. probably there is more)

It is impossible that all of them will be popular, plus more general purpose, doesnt really seem to help with popularity ... look at sql or r ... very popular, and very domain specific

Re:Why Elm? [pdf] by boubiyeah on Monday May 08, 2017 @05:16PM (#14295687)
The barrier to entry is much higher for purescript.

Elm tries to protect new users: "here, use andThen to chain two computations"

Purescript: React bindings have literal mentions of monads and functors... I think they're useful as concepts; but I don't want to think about it everytime I write a component's render function.

Re:Why Elm? [pdf] by zem on Monday May 08, 2017 @04:13PM (#14295167)
same reason rails got so much more mindshare than any of the competing web frameworks of its day - there is considerable value in optimising for the common case, and indeed adding constraints in the name of safety and good architecture; most languages/frameworks try to optimise for flexibility and miss out on this fact.
Re:Why Elm? [pdf] by KurtMueller on Monday May 08, 2017 @05:24PM (#14295752)
I think this is one of the main selling points about Elm - it's got conventions and it's got opinions. There's only one way to structure your app and it's the Elm way. That's a good thing when you're

1) building & growing the app - there's only way to grow and it must follow the same conventions as every other Elm app 2) bringing on developers - their main hurdle is the business logic itself and not the structure of the app 3) finding resources in the community - most everybody is traveling down the same road and can teach one another the lessons they've learned

Re:Why Elm? [pdf] by crimsonalucard on Monday May 08, 2017 @05:03PM (#14295587)
Purescript is more powerful but harder to use.