|
|
|
|
|
by 3rwww1
3502 days ago
|
|
I agree with most of this, but I beg to differ with the last bit : > [writing] some Elm code on server side [...] just seems like putting a square peg in a round hole We are actually writing server-side elm for a living. We mostly have a Scala background and we actually think elm is a pretty great fit for backend code. Agreed, the absence of typeclasses is a limitation of the language. Yes, it means, you can't have a `Set RandomObject` or `Dict RandomObject SomethingElse` (among other things) and that can get pretty frustrating for folks coming from almost any other strongly typed language. However the real question here is not "is this language worthless because of that", but rather "can I overcome that limitation for my specific use case ?". My personal take :
- If you are considering a switch from JS to elm (server or client), the point seems moot, as the language features described here are far from being available in JS.
- elm suits _some_ server side application very well. Not _all_ server side application. |
|