News for hackers. Stuff that matters.
Re:Why I’m Leaving Elm by hombre_fatal on Thursday April 09, 2020 @11:56AM (#22823767)
These posts (and HN comments) really make me wonder if adopters of fringe languages are always going to be thin-skinned developers who get emotional when they realize they won't be part of the language's design decisions. That "On Whose Authority" rant about Clojure complains about the exact same things. And I'll refer to Rich Hickey's response: https://old.reddit.com/r/Clojure/comments/73yznc/on_whose_au....

Elm in particular has this weird problem where there are vocal people in the community who you can count on to drape a wet, accusatory blanket over every discussion, and you wonder why they can't just find another language that they do like. Sometimes you need to leave the theater so other people can enjoy the show.

Also what are these languages yall are using where you're part of steering committee level decisions?

This blog post is full of the usual suspect complaints, like being annoyed that a language can use features like custom operators but they can't in their user lib even though most people would agree that user packages shouldn't be able to invent yet more custom operators. It's such a weird jealousy for a point to be "but core libs can do it, why not me? :(". Well, simple: think of the rest of us who don't want every user lib to define its own custom operators. But the complainer here gets hung up on what seems like an ego / entitlement issue.

Re:Why I’m Leaving Elm by nilkn on Thursday April 09, 2020 @05:54PM (#22827608)
I've watched Elm since its inception when Evan was posting about his experimental FRP project on r/haskell. (Yep, Elm actually started as a functional reactive programming language. That was before The Elm Architecture was developed and all that terminology was thrown out.)

As the project has developed, I have certainly wished Evan had taken a different and more open approach to leadership. I think Elm could be 10x as big as it is right now if he had aggressively encouraged community involvement instead of trying to lock the language down so much.

That said, it's completely mystifying to me how Elm is surrounded in so much drama, and it seems implausible and unreasonable to attribute it all to Evan. In the early days, it started getting hate from some hardcore Haskellers who felt that it needed more sophisticated language constructs. They would have converted it into PureScript, which clearly has never gained any widespread traction either -- perhaps less so than Elm despite all the drama. This is probably one of the earliest sources of conflict where Evan went against what a vocal minority wanted. Since then, it seems to have just snowballed, with the Elm team getting more locked down and vocal users becoming more and more upset about not being involved.

At the end of the day I don't really know what to make of it. Elm would not be Elm if Evan had listened to all the aggressive requests to make Elm more like Haskell. It would still be stuck in FRP-land and 99% of web developers wouldn't be able to make heads or tails of it.

What I will say is this. I have written some internal tools in Elm, and it's one of the best languages I've ever used for web development. It's a revelation of what the web ecosystem could look and feel like in a parallel world. Years later, I would still pick Elm for such projects because nothing else comes close from certain perspectives. I can always go get the normal experience with TypeScript and React. Elm is what I choose for self-contained applications where I don't need and don't care to deal with all the general chaos of the web world. And, personally, I doubt Elm would be this way if the early naysayers had gotten what they wanted.

Re:Why I’m Leaving Elm by ivanbakel on Thursday April 09, 2020 @12:31PM (#22824233)
>Well, simple: think of the rest of us who don't want every user lib to define its own custom operators.

Then why not simply not use those userlibs? Now it seems you're the one draping a blanket, only yours is over a non-specific hypothetical scenario rather than a real-world problem.

The reality is that people have opinions about things. You have opinions about things. People are going to try to manipulate tools they use because nobody in open-source has any significant amount of learned helplessness over software.

Re:Why I’m Leaving Elm by saagarjha on Thursday April 09, 2020 @03:42PM (#22826397)
> most people would agree that user packages shouldn't be able to invent yet more custom operators

I'm actually curious why; I have yet to see people actually abuse operators outside of C++, and those were in the standard library…

Re:Why I’m Leaving Elm by earth_walker on Thursday April 09, 2020 @05:30PM (#22827420)
This can be a problem in Haskell, where you can find a library using some operator like +>>* that you haven't seen before, imported from one of its 30 odd globally addressed modules, which may just be re-exporting other modules.

Hoogle/google rarely help with such operators, so finding any documentation is often an exercise in frustration, scanning through library after library for one declaration.

Re:Why I’m Leaving Elm by dwohnitmok on Thursday April 09, 2020 @05:49PM (#22827568)
How does Hoogle not help with such operators? Hoogle can search over all packages in the Stackage package set and can also be installed locally to look over all the dependencies of your project.
Re:Why I’m Leaving Elm by johnday on Friday April 10, 2020 @09:25AM (#22832741)
I'm not sure there's a meaningful difference between a strangely shaped operator and a strangely-shaped function. (Indeed they desugar to the same thing, except one is symbolic and one is alphanumeric).

Any decent library will describe the operator in its Haddock documentation, and most will export a named function with the exact same semantics and type.

Re:Why I’m Leaving Elm by erik_seaberg on Thursday April 09, 2020 @05:25PM (#22827373)
Re:Why I’m Leaving Elm by earth_walker on Thursday April 09, 2020 @05:31PM (#22827431)
Hah, you beat me to it.
Re:Why I’m Leaving Elm by overgard on Thursday April 09, 2020 @03:32PM (#22826297)
I think its a bit different with a language though. Because so much of other people's work is based on it, removing a feature that was being used causes all sorts of downstream chaos. Every time a language release breaks backwards compatibility it tends to really upset people, I think maintainers always need to be cognizent that their choices effect others.
Re:Why I’m Leaving Elm by geocar on Friday April 10, 2020 @04:12AM (#22831022)
They are. They might lose some users this way. They would definitely lose some users the other way though.

I suppose it must seem pretty strange to see a programming language built on a set of technical values, instead of trying to find the subset of most-popular values (because their real goal is popularity).

Re:Why I’m Leaving Elm by ronanyeah on Thursday April 09, 2020 @06:13PM (#22827761)
I've been using Elm happily for 3 years. Thanks for posting this.
Re:Why I’m Leaving Elm by leoh on Thursday April 09, 2020 @02:45PM (#22825827)
Thanks for posting this, it's important.
Re:Why I’m Leaving Elm by Zinggi on Thursday April 09, 2020 @02:14PM (#22825529)
Thank you! Well put.
Re:Why I’m Leaving Elm by geocar on Thursday April 09, 2020 @05:05PM (#22827200)
It's a peculiar demographic I've noticed amongst people who have grown up with all their software available gratis or ad-supported.

"Oh this incredibly hard work that someone else did for free isn't exactly what I wanted and they refuse to change it the way I want for free"

If Elm is so great, and if it's 99% there, and you only need "this one little custom operator" added, or this "special piece of extension code" and it's really that 1% and you can't be bothered to contribute that 1%; to do it yourself, or pay someone to do it, well, then you deserve to use whatever piece of shit you end up with.

Re:Why I’m Leaving Elm by rcxdude on Thursday April 09, 2020 @07:04PM (#22828137)
It doesn't sound like they were expecting someone else to do it: they did it themselves but the maintainers were not open to the idea.
Re:Why I’m Leaving Elm by geocar on Friday April 10, 2020 @03:01AM (#22830650)
What you said sounds exactly like they want the “maintainers” to do something.

But I understand how it can sound like that if you’re part of the demographic I’m talking about.

Re:Why I’m Leaving Elm by lozenge on Thursday April 09, 2020 @06:28PM (#22827862)
And when they don't accept your contributions and lock your thread when you explain why you neeed it, what then?
Re:Why I’m Leaving Elm by geocar on Friday April 10, 2020 @03:00AM (#22830642)
If it’s a good idea your fork will survive.

If it isn’t, now you know too.