r/programming • • Nov 20 '19

The Biggest Problem with Elm

https://medium.com/@cscalfani/the-biggest-problem-with-elm-4faecaa58b77
1 Upvotes

11 comments sorted by

7

u/bmurphy1976 Nov 20 '19 edited Nov 20 '19

The biggest problem with Elm is that the creator Evan, who seems like a really nice and smart guy, is a bottleneck. He is seemingly incapable of delegating responsibility to other people. This is both the source of Elm's success and its curse.

I don't think Evan should change. It's his baby, he can do whatever he wants, but if you choose to base your product on Elm you should know this. Elm is going to evolve on Evan's schedule, not yours.

5

u/przemo_li Nov 20 '19 edited Nov 20 '19

tl;dr: We split our code by technical function.

Now we have 50 modules and Update.elm in each one of them.

We hate Elm, because otherwise we would have to hate ourself.

/s

Edit:

Ok, there are some good points in there, not just blaming Elm creators for authors own personal choices.

7

u/kankyo Nov 20 '19

There is no way to make components in elm. If you ask for it they will belittle and/or ban you. They claim it isn't needed but then the only way to actually use elm is to use components like input elements.

4

u/_101010 Nov 20 '19

I understand the point of the author but don't completely agree with it.

To give an example, I used to main Java, Kotlin and Haskell for backend (LoC order) and dabble in Elm.

Now I write Golang, its tedious and verbose, there are zero generics, but I wouldn't characterise it as Tech Debt and same is true for Elm.

It might be verbose, opinionated but its not Tech Debt.

The problem I believe with the author is that they committed to Elm before understanding what they were in for.

Also micro-frontends is a thing, you could easily split your app and use TEA perfectly.

1

u/kankyo Nov 20 '19

Still banned?

2

u/_101010 Nov 20 '19

I think so.

1

u/0xDEAD_C0DE Nov 20 '19

no

1

u/kankyo Nov 20 '19 edited Nov 20 '19

Did you unban him? Does he know?

Edit: he doesn't think he is unbanned.

3

u/snowe2010 Nov 20 '19

banned from what?

1

u/kankyo Nov 21 '19

The elm reddit.

0

u/0xDEAD_C0DE Nov 20 '19

The point about being verbose seems to be a re-iteration of what is said in this https://blogg.bekk.no/using-elm-at-vy-e028b11179eb blog post.

So my question is what did the authors of the elm used in Vy differently from what the author of the article did? If they did anything different. It could be that the author is using Elm poorly/wrongly trying to force their opinion on an already opinionated framework? I would at least really like to know :)