News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by davedx on Monday June 05, 2023 @05:36AM (#36194196)
That being said... python had a BDFL and look how that turned out.

I think designing and evolving any living programming language is just one of the hardest problems out there.

Incredible blog post indeed, was awesome to read it.

Re:The Rust I wanted had no future by sph on Monday June 05, 2023 @07:10AM (#36194769)
A dictator might just have terrible ideas.

His dislike for functional constructs didn't do Python any favour, but now that he's gone I see Python is adding the kitchen sink as well. I haven't kept up with the language since that pattern matching proposal.

Re:The Rust I wanted had no future by pclmulqdq on Monday June 05, 2023 @09:36AM (#36195993)
People who are deeply into programming languages seem to like FP too much. That and theories of type systems. Python is doing some great things, but also just fucking around a lot.
Re:The Rust I wanted had no future by imtringued on Monday June 05, 2023 @11:37AM (#36197848)
As someone who doesn't like Python. Python's problems have almost nothing to do the lack of functional programming. It does have the worst lambda syntax of any programming language but that is about it.
Re:The Rust I wanted had no future by alwaysbeconsing on Tuesday June 06, 2023 @11:28PM (#36222500)
> A dictator might just have terrible ideas.

If they're all terrible, then the language won't appeal to anyone and will die off naturally.

On the other hand if everyone gets to add their favorite terrible idea, there may still be enough non-terrible parts to appeal to enough people to keep momentum.

Re:The Rust I wanted had no future by bazoom42 on Monday June 05, 2023 @08:39AM (#36195373)
> That being said... python had a BDFL and look how that turned out.

One of the most popular and succesful languages, and a major force in AI innovation?

Re:The Rust I wanted had no future by viscanti on Monday June 05, 2023 @08:58AM (#36195567)
The py2 to py3 transition seems to have gone very poorly, although most of the pain from that is behind us now.
Re:The Rust I wanted had no future by thiht on Monday June 05, 2023 @09:21AM (#36195834)
Honestly I blame the community.

The transition was slow (Python 2 was supported in parallel to 3 for a long period of time so there was more than enough time to migrate), relatively easy to do, and brought huge benefits to the ecosystem.

It could have been done and forgotten in 2 years if some community members had not been dicks about it.

Re:The Rust I wanted had no future by svieira on Monday June 05, 2023 @11:32AM (#36197745)
It really seemed that the issue was mostly "Unicode is really hard if you haven't thought _deeply_ about it" because application code, library and framework code, _and_ "system" Python code had to go through several iterations of "here's how to do it right" before something reasonable came out that solved issues for most / all stakeholders. And the Swift / Raku people are still sitting on the sidelines smiling, knowing that there are a lot more "lenses" to view text through that Python doesn't make easy (but neither does Haskell, JS, or Java, so there's good company in good-enough-for-now land).
Re:The Rust I wanted had no future by imtringued on Monday June 05, 2023 @11:35AM (#36197798)
Most of the breaking changes did not justify upgrading.
Re:The Rust I wanted had no future by hajile on Monday June 05, 2023 @12:31PM (#36198782)
I blame a lack of tools.

JS devs have been transpiling for years now and it works.

Python should have released a conversion tool that could automatically convert most stuff and identify the stuff it couldn't convert. This kind of directed upgrade would have made the process much easier for developers to actually accomplish.

Re:The Rust I wanted had no future by LordDragonfang on Monday June 05, 2023 @01:16PM (#36199561)
I'm confused, because isn't that exactly what they did? What was wrong with 2to3?

https://docs.python.org/3/library/2to3.html

Re:The Rust I wanted had no future by hajile on Monday June 05, 2023 @02:37PM (#36200963)
It didn't work well at all in my experience. Given how much code was thrown out rather than ported, I'm guessing that I'm not alone.
Re:The Rust I wanted had no future by viscanti on Monday June 05, 2023 @12:52PM (#36199179)
> Honestly I blame the community.

Sure. The point is that a community can make things go poorly, with or without a BDFL.

Re:The Rust I wanted had no future by collinmanderson on Monday June 05, 2023 @01:34PM (#36199849)
> The transition was slow

Here's the timeline the way I think about it:

- 2008-2012 Python 3 becoming usable (byte formatting, six library)

- 2012-2016 Libraries (Django, etc) becoming compatible

- 2016-today Applications (Trac, Ansible, Chrome, etc) becoming compatible.

It took a lot of time for the ecosystem to be ready. Yes, there was a lot of stubbornness, but that's reality.

There are many things that could have been done to make the transition go smoother.

Re:The Rust I wanted had no future by jefftk on Monday June 05, 2023 @09:01AM (#36195601)
That was a seriously bad call, but it was a single one and he's made a ton of other decisions over the years.
Re:The Rust I wanted had no future by rirze on Monday June 05, 2023 @10:59AM (#36197092)
who's "he"?
Re:The Rust I wanted had no future by wez470 on Monday June 05, 2023 @11:28AM (#36197653)
Re:The Rust I wanted had no future by estebank on Monday June 05, 2023 @11:32AM (#36197747)
Guido van Rossum
Re:The Rust I wanted had no future by _joel on Monday June 05, 2023 @10:57AM (#36197065)
With a dodgy 2->3 migration pathway and far too many package managers.
Re:The Rust I wanted had no future by 015a on Monday June 05, 2023 @12:31PM (#36198792)
And despite that, still a top 3 most popular programming language on the planet. And another in that top 3 is the universally-derided Javascript.

There's a lesson in there to learn. Its unfortunate that the people who need to learn it most likely won't.

Re:The Rust I wanted had no future by LordDragonfang on Monday June 05, 2023 @01:14PM (#36199533)
It's important to note that JS has an unfair advantage in that if you want to write code that runs on the universal platform, you're forced to use either it or something that transpiles to it. Python reached where it was on merits alone.

(That said, JS is actually a very versatile and almost-great language, getting better all the time)

Re:The Rust I wanted had no future by timschmidt on Monday June 05, 2023 @01:30PM (#36199777)
Python reached where it is because university CS programs which had previously been teaching Java reached for a new language.
Re:The Rust I wanted had no future by LordDragonfang on Monday June 05, 2023 @07:44PM (#36205990)
Most universities I knew were still teaching Java well into python's rise to popularity a decade ago. Python got where it is by focusing on being simple, easy, and nice to use. Seriously take a look at PEP-20 sometime:

https://peps.python.org/pep-0020/

Things like "There should be one-- and preferably only one --obvious way to do it." just was such a breath of fresh air in language design.

Re:The Rust I wanted had no future by _joel on Tuesday June 06, 2023 @06:55AM (#36210828)
I take it they didn't extend that to the package managers :)
Re:The Rust I wanted had no future by lmm on Monday June 05, 2023 @07:49PM (#36206037)
Python took a clear turn for the worse when it stopped following the BDFL model.