3 ms·
Using Elixir and Elm at my day job. Coming from a more Python/Java/PHP/JS background, Elixir was a lot easier to pick up and doesn't frustrate me as much. Most
by Terr_ 2y ago
Using Elixir and Elm at my day job.
Coming from a more Python/Java/PHP/JS background, Elixir was a lot easier to pick up and doesn't frustrate me as much. Most of the remaining scary bits involve concurrency and process supervision trees.
Macros are powerful, but also easy to use in a way that makes everything hard to debug. For those unfamiliar with them, it's a bit like a function except any expressions you call it with are not evaluated first, but arrive as metadata that can be used to assemble and run new code.
- mikercampbell 2y agoWhy elm over LiveView? I know “why” elm, I liked everything I saw about it, but how do you combine the two, if you do?
- Terr_ 2y agoThere's a bit of a struggle between sections that use just one or the other, but Elm has the managerial blessing right now. While I think Elm is neat, it suffers from ecosystem issues. It drive a large amount of Not Invented Here because JS invented somewhere else is hard to incorporate. Also, good luck rendering arbitrary HTML that comes in as data from somewhere else.
- ghayes 2y agoYeah, I loved Elm, but the restriction that you can't build your own "effect" modules really made it impossible to embrace. Say you want to use a new web API similar to using Elm's core `Http`, well... you can try and fork Elm...
- boxed 2y agoYou can use webcomponents to work around a few of those limitations.
- never_inline 2y agoThe question is about systems programming.
- aqueueaqueue 2y agoDoes the lack of movement on Elm even in terms of bugfixes cause any issues? Maybe you use elm-janitor?