News for hackers. Stuff that matters.
Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @10:34AM (#39550725)
> making it impossible to actually use the language in production

Just FUD. I've been on a big team writing a webapp used by hundreds of thousands each day. While it's not necessarily my own first choice, it was great and the least error prone piece of software I've written in my career.

Re:Learning Elm by porting a medium-sized web front end from... by baobabKoodaa on Thursday February 29, 2024 @11:08AM (#39551212)
I've also had the pleasure of maintaining an Elm codebase. It was filled to the brim with state update bugs. You could never trust what you saw in your browser. Nobody in the team understood how the codebase worked. I spent days implementing some extremely simple changes, which barely worked (to the same standard as the rest of the codebase). Never again.
Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @11:25AM (#39551471)
I don't blame a Rust-codebase for being bad just because I don't know Rust.
Re:Learning Elm by porting a medium-sized web front end from... by baobabKoodaa on Thursday February 29, 2024 @01:11PM (#39552874)
So, your positive anecdote was somehow valuable for the discussion, but my negative anecdote had absolutely no value? That's how anecdotes work?
Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @10:28PM (#39558228)
My positive anecdote proved that Elm is usable in production, which was the FUD I was refuting. Yours were irrelevant in that context.
Re:Learning Elm by porting a medium-sized web front end from... by ISV_Damocles on Thursday February 29, 2024 @10:55AM (#39551017)
It is impossible if you're being responsible. You don't choose a technology that could potentially block you from solving problems in the future unless it brings a huge value to you.

Elm's value proposition is mostly being a functional language with an opinionated MVU library baked in, so you can reproduce that value with a better functional language and selecting a similar MVU library in that other language, which means it should never actually cross the value bar above the risk it brings if you need a browser feature it doesn't support and actively prevents you from accessing.

Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @11:24AM (#39551443)
Now you're moving the goalpost. You said it was impossible to use in production. Which is clearly wrong.
Re:Learning Elm by porting a medium-sized web front end from... by ISV_Damocles on Thursday February 29, 2024 @11:31AM (#39551561)
I am just clarifying why I consider it impossible.

Production is not some place you're supposed to cowboy code, but instead have a reasonable expectation that you will be able to continue supporting it for as many years as it operates, and it's impossible for anyone to responsibly use technology with known limitations that have bitten other real engineering teams that they can find zero workarounds for.

If you don't consider that an impossibility for a production environment, then I certainly wouldn't want to work with you on a team with production responsibilities.

Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @12:05PM (#39552080)
Ah, ad hominem. By not agreeing with you, you're basically saying I suck as a dev. Classy.

If that's the level of discussion you want, I'll pass. And perhaps you should reflect on if you yourself is a great team member, if this is how you conduct technical discussions with your colleagues..

Re:Learning Elm by porting a medium-sized web front end from... by ISV_Damocles on Thursday February 29, 2024 @12:25PM (#39552313)
You keep throwing out debate terminology as if that's helping your argument.

You'll note that I didn't get immediately riled up on you calling my original post "FUD" instead of asking why I said what I said. And then when I tried to clarify to you how I consider usage of Elm in production impossible, you again attack me directly instead of trying to discuss anything.

So, perhaps you should reflect if you're a great team member if you consider your opening statement to me to be a "technical discussion" at all? I was just trying to respond reasonably for third parties who are reading this, because I consider you a troll.

Re:Learning Elm by porting a medium-sized web front end from... by matsemann on Thursday February 29, 2024 @10:37PM (#39558277)
You throw out wildly inaccurate statements, and then consider people that push back trolls? I clearly hit a nerve. You lashing out isn't "responding reasonable".
Re:Learning Elm by porting a medium-sized web front end from... by marc136 on Friday March 01, 2024 @04:43PM (#39567149)
Zero workarounds seems overly dramatic, here are a few: https://news.ycombinator.com/item?id=39567011

If you want to rely on them for every possible future requirement or rather want to pick another tool is another question :D

Anyways, just building the compiler without that check was also not that hard.

Re:Learning Elm by porting a medium-sized web front end from... by vsuperpower2020 on Thursday February 29, 2024 @11:35PM (#39558561)
I've seen the word FUD 4 times on this page already. The "elm defense force" sounds a lot like cryptobros defending their rug pull. It's such an odd piece of language to adopt over people not liking some javascript compiler for perfectly valid reasons.
Re:Learning Elm by porting a medium-sized web front end from... by marc136 on Friday March 01, 2024 @02:16AM (#39559392)
Funny that you have this impression.

To me it looks more like the elm-haters are out in force and the Elm users don't participate anymore on this site.

Many hateful comments here below a historic post prompted me to create a new account after a detox phase of >10 years.

So far I try to correct a false statement in the (as of writing this) top comment [1] or add a more neutral view [2]. And maybe I will add more of my personal opinion in the future - or participate in other interesting topics depending on my mood.

[1]: https://news.ycombinator.com/item?id=39555542 [2]: https://news.ycombinator.com/item?id=39556395