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.

Elm at Pacific Health Dynamics

165 pointsby mordraxabout 7 years ago

11 comments

sridcaabout 7 years ago
I never enjoyed frontend programming until I came across Elm. Not only that Elm turned out to be a gateway drug to Haskell. Now I write frontend and mobile apps in Haskell using Functional Reactive programming (FRP).
评论 #16797757 未加载
评论 #16797996 未加载
fwipabout 7 years ago
The lead paragraph is a bit worrying.<p>&gt; Since July 2017, I’ve been leading the frontend rewrite of their flagship product. The codebase was at 16k LoC when I started. Since then, I’ve rewritten the various subsystems at least once (I&#x27;m looking at you generic form component). Now we hover around 45k LoC with most of the common SPA structures stabilizing. We are about a third of the way to completion.<p>I don&#x27;t know if it&#x27;s common for rewrites to triple the amount of code while being only 1&#x2F;3rd complete, but it certainly doesn&#x27;t feel like &quot;these are the facts I should lead with.&quot;<p>Edit: I read more of the prologue, and it turns out that the initial 16kloc application was not complete.
评论 #16798413 未加载
评论 #16798065 未加载
Tehnixabout 7 years ago
A bit of a side-track, but I feel like I&#x27;m in a weird waiting phase with Pure FP JS.<p>With Elm, I don&#x27;t really feel like introducing it to my team before 0.19 hits, because it &quot;feels&quot; like it&#x27;s around the corner, but it has felt like that for a while.<p>With Haskell, I&#x27;m not entirely happy with GHCJS and the tooling surrounding it. I&#x27;m dreaming of the WebGHC[0]&#x2F;WASM being nicer, if it ever gets done.<p>I don&#x27;t exactly know what keeps me off PureScript, perhaps that most frameworks just seem to compile to React, and that the community still hasn&#x27;t settled on one (at least it seems so from the outside).<p>Honestly, Miso[1] is the one I feel the most optimistic about atm.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;WebGHC" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebGHC</a><p>[1] <a href="https:&#x2F;&#x2F;haskell-miso.org" rel="nofollow">https:&#x2F;&#x2F;haskell-miso.org</a>
评论 #16798241 未加载
sulamabout 7 years ago
All the ML inspired languages seem to fall over on compile time. This post is a good example, where it describes design choices driven specifically by compile time, which is not a dimension I usually want interacting with the way I structure my code. I love the rest of the story (full disclosure: I have years of experience with Scala and Swift, which are no better) but until sufficiently advanced compilers arrive these languages are going to continue to be a hard sell for a substantial group of developers.
评论 #16798901 未加载
评论 #16799720 未加载
评论 #16798836 未加载
kuonabout 7 years ago
I also shared my elm experience a few days ago:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16750842" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16750842</a>
评论 #16798712 未加载
lolcabout 7 years ago
I&#x27;ve only used Elm for a hobby project. Given how much I enjoyed the experience of web app programming for once, it&#x27;s nice to read how well it scales to a large application.
评论 #16798695 未加载
callahanrtsabout 7 years ago
Thanks for writing this. It&#x27;s encouraging to read about others&#x27; experiences using Elm in production. After a couple small side projects in Elm, I&#x27;m finally using it in a few low-risk areas at work.
carapaceabout 7 years ago
Serious question: What&#x27;s the <i>business value</i> case for <i>not</i> using Elm?
评论 #16799362 未加载
评论 #16799681 未加载
评论 #16799944 未加载
评论 #16801127 未加载
woolvalleyabout 7 years ago
Thanks for warning about compile times.
评论 #16798705 未加载
binoraabout 7 years ago
that&#x27;s a good read. can anyone point me to similar stories but for clojurescript ??
Patrick_Devineabout 7 years ago
Took me a while to realize this wasn&#x27;t about the Elm email client <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elm_(email_client)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Elm_(email_client)</a>
评论 #16797478 未加载
评论 #16798257 未加载
评论 #16798746 未加载