Hacker News new | ask | show | jobs
by Perceptes 3277 days ago
This honestly makes more sense to me than Elm itself. I don't see the reason to make Elm a separate language. It's the architecture that's important (given the type system of the language you choose doesn't suck, which is certainly true for Haskell.)
3 comments

I like Elm and see advantages for it being separated from Haskell for a couple of reasons:

1) The Elm language is tightly curated. It features the most important parts of Haskell/OCaml for frontend web apps and decreases the surface area of knowledge needed to use it.

Obviously, this point is debatable and has been heavily debated in the Elm community.

2) In Elm, there is only way one to create a frontend web app. When new developers come on to a project, they need to mainly learn only the business logic of your app. When you want help from the online Elm community, they already know the workflow of the app.

3) It's a gateway drug for Haskell/OCaml. I think any rise in Elm's popularity can only help languages like Haskell & OCaml.

Purescript and Halogen would like to have a word.

Having said that when I tried to build a simple Halogen project the build hung.

Couldn't agree more.