TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why I'm Leaving Elm (2020)

52 pointsby bluewaltalmost 2 years ago

15 comments

neilvalmost 2 years ago
&gt; <i>they need to think of themselves as stewards and not owners.</i><p>This is an important idea that a lot don&#x27;t seem to get.<p>Of cource, if you&#x27;re in (US) business, the norm is to be an owner, often with a PR veneer of steward or faux folksiness, and most savvy people understand that.<p>(Junior engineers are to be forgiven for not yet understanding that the megacorp or aspiring techbro-ionaire is often trying to trick the kids to get into the back of the ice cream truck of vendor lock-in.)<p>But in many other contexts, people rightly expect steward. Including in many ostensibly community projects, in which there are very different reasonable expectations.
cyberaxalmost 2 years ago
Elm is pretty much dead at this point. The last substantial commits in the Elm repositories are about 2 years old.<p>I liked Elm before, and was a great fit for internal corporate applications. Something like an admin control panel or a monitoring tool.<p>Are there any similar projects that are in the &quot;more alive&quot; state?
评论 #36274010 未加载
评论 #36273700 未加载
评论 #36274150 未加载
评论 #36273793 未加载
评论 #36274347 未加载
评论 #36273864 未加载
macintuxalmost 2 years ago
Extensive discussion (434 comments) when this was first published.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22821447" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22821447</a>
评论 #36274356 未加载
yakshaving_jgtalmost 2 years ago
I&#x27;m moving away from working with Elm also, but for different reasons.<p>I don&#x27;t care that Elm isn&#x27;t some jolly club where everyone gets to join in. If it were, we would 100% see escape hatches, and, ultimately, runtime errors.<p>I also don&#x27;t care that it doesn&#x27;t have typeclasses or other more <i>powerful</i> language features. The fact that the language is small <i>is</i> a feature. It&#x27;s much more thoughtfully designed than JavaScript (which is now <i>worse</i> than it was 10 years ago as it has continued to accrete features it envied from other languages).<p>I think Elm is the best technology in its space. If I wanted to build a single page application, I would absolutely, 100%, write it in Elm.<p>I&#x27;m moving away from working with Elm because I just don&#x27;t need to write single page applications, and I believe developers are all too eager to write single page applications unnecessarily.
评论 #36276982 未加载
azangrualmost 2 years ago
&gt; and migrate to some other language (most likely Bucklescript<p>Given this was written in 2020, how has the migration to Bucklescript &#x2F; Rescript &#x2F; ReasonML been going?
FrustratedMonkyalmost 2 years ago
ELM is great. So where do people go if they like ELM and want that type of thing, but sustained?<p>If everyone is leaving all languages, based on the flurry of these types of posts, what is left? What language&#x2F;platform do we use, if everyone is leaving everything because of some X?<p>Sounds like open source is fragmenting. And what will we be left with? The big corp backed platforms, that have marketing departments, and product managers, and support departments. .Net, Java, etc...
评论 #36273952 未加载
jb1991almost 2 years ago
Ah, another “why I’m leaving X” post, I’ve never seen these kinds of posts as particularly fruitful regardless of the language they go on about. Engineers can assess the pros and cons of a technology for themselves based on their needs, and usually these kinds of posts don’t have the relevance their authors wish they would. I think they serve more as emotional catharsis (or worse) than actually meaningful content (most of the time).
评论 #36273625 未加载
评论 #36274140 未加载
cameronfraseralmost 2 years ago
why do these elm hit pieces keep getting dug up and reposted? It&#x27;s almost always in response to some other elm post (there was one yesterday). People use elm in production at quite a few companies without worrying too much about the concerns laid out in the article, but it feels like people seem almost fervent in their need to justify their reason for leaving elm and why other people shouldn&#x27;t use elm.
评论 #36273989 未加载
评论 #36273704 未加载
srhtftwalmost 2 years ago
A year ago I started using Elm for a side project where I wanted to let my users go beyond typical Markdown and templates and apply their own processing rules on html&#x2F;css generated by an Elm view. Unfortunately I discovered Elm&#x27;s libraries aren&#x27;t really intended for that - a view can trivially create html nodes but you can&#x27;t transform those same html nodes in the obvious way because their attributes aren&#x27;t readable. If you want something you can transform in multiple passes you have to use your own IR or html wrapper.<p>Maintaining a redundant IR just to be able to transform attributes wasn&#x27;t a price I was willing to pay for a fun side project so since Elm really didn&#x27;t want me to work with the generated html the way I wanted to I looked around and decided to give Yew a try. Unlike Elm, Yew gives you a way to include arbitrary html in the rendered output. Accessing third party javascript with wasm-bindgen is also much simpler than using ports or custom elements in Elm.<p>Well after playing around with Yew a bit I found myself missing the effortless refactoring experience I had working in Elm so I decided to come back to Elm and go with a hybrid approach. Now I have static html&#x2F;css with small Elm modules for forms and simple views and a completely separate app does the transformation. This wasn&#x27;t the architecture I originally had in mind but overall I like it better.<p>Having said all that I can sympathize with the author&#x27;s frustration. It&#x27;s really really irritating when you encounter something that you think should have a trivial solution but turns out to be hard in Elm because of the choices the Elm developers made. In my case I felt like I was on a luxury cruise that was fun 99% of the way until finding out their policy was that I had to swim the last 1% on my own.
strikingalmost 2 years ago
(2020)
JaggerJoalmost 2 years ago
For people looking for a replacement:<p>Take a look at F# and Fable (F# to JS compiler)
adamrezichalmost 2 years ago
previously: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22821447" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22821447</a> (April 9, 2020 — 732 points, 431 comments)<p>I was surprised this is only the first reposting—I thought for sure I had seen it more often than that.
评论 #36274075 未加载
shp0nglealmost 2 years ago
(2020)<p>I felt deja vu, because this was posted here before
revskillalmost 2 years ago
Everything could be solved by using metaprogramming. Take it easy.
thrawa8387336almost 2 years ago
Good for elm, now even more intrigued to use it, seeing it triggers the right people. What is described in the article is infinitely better than what usually goes around as acceptable in front end.
评论 #36273750 未加载
评论 #36273787 未加载