News for hackers. Stuff that matters.
Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Tuesday February 09, 2021 @12:06PM (#26079882)
You realize 3 would make 1 and 2 harder or less valuable? And 3 would have also prevented a gazillion 1s and 2s from being still with us?

I think breaking changes are highly underratted and people only shy away from them because the tooling expectations in all languages are so rock bottom.

Re:Haskell: The Bad Parts, part 2 (2020) by willtim on Tuesday February 09, 2021 @12:25PM (#26080161)
> You realize 3 would make 1 and 2 harder or less valuable?

Yes that is why I think (1) and (2) need a new language.

> And 3 would have also prevented a gazillion 1s and 2s from being still with us?

I disagree. Most new features have been implemented as extensions that must be enabled with language pragmas. This is not the same thing as large breaking changes in the standard libraries.

Re:Haskell: The Bad Parts, part 2 (2020) by IngoBlechschmid on Tuesday February 09, 2021 @04:39PM (#26082686)
Isn't constructing a new language the ultimate breaking change :-)
Re:Haskell: The Bad Parts, part 2 (2020) by eyelidlessness on Tuesday February 09, 2021 @10:13PM (#26085367)
I don’t have a dog in this fight other than interest in ML-family langs generally and Haskell as a pervasive interest everywhere I go outside of Haskell. But...

No not really, if your language is intentionally designed to be a foundation for other languages. So many lisps are trivially host languages for other languages at their core. Even JS is at this point, with the widespread use of Babel and various bundlers. Those languages themselves are seldom very different underneath that.

Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Wednesday February 10, 2021 @01:16PM (#26092791)
Making a "language laboratory" for typed languages, (as opposed FFI with lowest common denominators like C or so-and-so untyped, garbage-collected language) is an open problem. I think it can be solved, but until it is, it's wishful thinking to pretend a multitude of similar languages doesn't result in tragic fragmentation of a small community.
Re:Haskell: The Bad Parts, part 2 (2020) by eyelidlessness on Wednesday February 10, 2021 @10:54PM (#26098082)
TypeScript seems to be doing alright? Maybe there’s something I’m missing but TS is basically a type checker on top of everything JS compiles to, including the whole Babel universe and compiler transforms that support macros and arbitrary AST manipulation. Even its standard config offers a multitude of similar languages.
Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Thursday February 11, 2021 @12:53PM (#26104802)
Having a type language on top of an untyped one is fine (except for perf). It's having multiple typed ones that compose well and aren't just reskins of the same basic type theory that's the harder part.
Re:Haskell: The Bad Parts, part 2 (2020) by matheusmoreira on Wednesday February 10, 2021 @08:42AM (#26088868)
Isn't any breaking change the same as creating a new language?

There will be two similar yet different languages in use until everyone migrates to the new version. This process could happen quickly or not at all.

Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Wednesday February 10, 2021 @01:09PM (#26092710)
Yes, but there is much more likely to be tooling to migrate in the same name / same community case.
Re:Haskell: The Bad Parts, part 2 (2020) by willtim on Wednesday February 10, 2021 @02:34AM (#26086511)
Only if Haskell stops being maintained, which I very much doubt would happen. Therefore no one is forced into the change.
Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Wednesday February 10, 2021 @01:13PM (#26092757)
No one is forced to upgrade to a newer version either.

Now, perhaps the problem in your eyes is the old version isn't being maintained. But I see the opposite: maintaining two versions indefinitely is the problem. The Haskell community is not infinitely big, nor growing fast enough, that if e.g. 1/2 went to Idris and 1/2 stayed, it wouldn't be catastrophic.

Making the changes we need to make, and then making it as easy as possible for everyone to migrate, I think is the best way.

Re:Haskell: The Bad Parts, part 2 (2020) by Ericson2314 on Tuesday February 09, 2021 @06:44PM (#26084080)
I wish more people would realize this!
Re:Haskell: The Bad Parts, part 2 (2020) by kthielen on Wednesday February 10, 2021 @09:45AM (#26089763)
People have made languages to address these issues (including me), and even put them in critical systems, but it is very difficult to get people to sign on to a new language.