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.

The Hitchhiker's Guide to Elm

120 pointsby roadbeatsabout 7 years ago

10 comments

jxxcarlsonabout 7 years ago
I&#x27;ve been working on a project, now at <a href="http:&#x2F;&#x2F;www.knode.io" rel="nofollow">http:&#x2F;&#x2F;www.knode.io</a> for quite some time. It went from Rails to an Elixir back end with an Angular 1 frontend, then a brief experiment with an Angular 2 frontend, and finally to an Elm frontend. It is a complex project with JS interop using ports to render (a) mathematical text and (b) Asciidoc. Plus, there is a Latex-to-Html parser-differ-renderer package that I wrote entirely in Elm (2K of code).<p>I couldn&#x27;t be happier with Elm in this project. Many major refactors: instead of the usual white-knuckle experience with prior languages&#x2F;frameworks, it was, like, zen.
tdbgamerabout 7 years ago
I really liked Elm a lot, but the issue for me was that composing components is a shit show. You have to add variants to the root Msg type for every single subpage and have it dispatch to the right update&#x2F;view functions.<p>I&#x27;m really excited about a project inspired by Elm called Yew but allows you compose components much more naturally and easily.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;DenisKolodin&#x2F;yew" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DenisKolodin&#x2F;yew</a>
评论 #17127020 未加载
评论 #17127793 未加载
gsvclassabout 7 years ago
I built <a href="https:&#x2F;&#x2F;bellpluscat.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bellpluscat.com&#x2F;</a> entirely in Elm. It&#x27;s a database in your browser kinda like a simpler Airtable. It uses Google Drive as it&#x27;s backend.<p>Elm let me a single programmer build this in a couple weeks with no runtime issues even after major refactoring to add new features. It was such a pleasure to work on.
grandinjabout 7 years ago
Are the elm overlords still hell bent on &quot;thou shalt program our way or not at all&quot;<p>Because that kind of dogmatism is a complete show stopper for languages that want to be deployed on even medium term projects.
评论 #17126531 未加载
评论 #17126926 未加载
评论 #17126189 未加载
评论 #17126586 未加载
评论 #17127821 未加载
评论 #17126287 未加载
评论 #17126633 未加载
评论 #17126123 未加载
bhnmmhmdabout 7 years ago
Great post. I welcome any alternative to HTML+CSS+JS. It&#x27;s time we moved on from these [in my opinion] garbages.
评论 #17126315 未加载
freekhabout 7 years ago
Working on an elm project now and a few months in I believe I might see the main wart if elm which is the amount of boilerplate required. I suppose that should shock no one because elm might be many things but feature rich is not one of them. I still like it though. And boilerplate might be easier to read than some bad abstraction. Still it ends up less dry than I would have liked.
werdsabout 7 years ago
Disappointed that that article did not start with &quot;Don&#x27;t Panic&quot; in large friendly letters.
venuurabout 7 years ago
Unfortunately, I am unable to read the article on my phone. The code examples do not render properly. They extend off the left and right sides clipping most of the code. Some sort of word wrap or shrinkage might be better.
hackbinaryabout 7 years ago
I thought this was going to be about the email client. The that pine is not. :&#x2F;
crispy-jamabout 7 years ago
nice@!!!!!