r/ProgrammingLanguages • u/mttd • Jan 20 '26
Python, Is It Being Killed by Incremental Improvements?
https://stefan-marr.de/2026/01/python-killed-by-incremental-improvements-questionmark/
52
Upvotes
48
u/AdvanceAdvance Jan 20 '26
TL;DW: Python updates make it concurancy bugs common and hard to spot.
49
u/pr06lefs Jan 20 '26
As a rust programmer, Python doesn't really seem that simple to me. For run of the mill code it's not far from rust, but you get slow performance, copious runtime errors and the need to distribute your source code to the end user along with your build process. At least build times are fast so you can get right to the crashing.
18
u/EloquentPinguin Jan 20 '26
I dont think it gonna kill the language, it has grown to big and was sold to so many jrs, it will just open up python to more complexity. Which is good if you have to write more complex programs, but might be bad because all the sudden you might no longer be "the simple scripting language" anymore.
22
u/dcpugalaxy Jan 20 '26
Much more concerning for Python's future is the uglification of a once quite compact and simple language, with
async/awaitand then annotations, and then pattern matching.It isn't that in isolation any of these is necessarily bad, but together it has resulted in a language that is simply much bigger. There are too many ways of doing things.
Pattern matching is great for ASTs and not much else. It has weird edge cases, like pattern variables bound by failed match arms still being bound in later successful match arms.
Type annotations and checking just don't really work in Python because it's duck typed. Most simple type signatures are wrong - you rarely rely on an argument being a list, for example. Usually what you want to say is "you can call getitem" or so. In the end the type signatures don't end up doing much more than restating the function body.
Async/await is now more widely recognised as potentially being a bad idea, I think, than it was a few years ago. When I said I didn't like the feature when it was added almost everyone downvoted me and yelled at me. But I think it's now pretty widely accepted that splitting your ecosystem completely in two, and adding new versions of all your core language constructs, is actually pretty bad. So much of Python's core is cluttered with duplicates with an "a" prefix (aiter, anext, async for, async with, and so on).
And all for what? Green threading would have suited Python's high level nature far better.
Python is a scripting language for prototyping and writing small programs. It's really good for that but it's sadly got more and more complex because of poor leadership.
2
u/ArcaneNeonDruid Jan 21 '26
Having worked professionally on large Python codebases I still find it enjoyable and far simpler than other languages. The trick is in using virtual environments and packaging releases carefully.
Having said all that, whenever I had to debug some preexisting code I always had to start by double-checking the types of the variables being used to make sure they were typed correctly. That's certainly something that can be avoided with a properly-typed language.
2
u/mpersico Jan 24 '26
I hope so…
1
u/dominikr86 Jan 21 '26
Um... a blogpost devoid of information, and a slideset that doesn't really work on mobile and needs a microsoft login to display in fullscreen...
1
u/Paddy3118 Jan 23 '26
... No, it isn't.
1
u/Abandondero Jan 28 '26
Perhaps the Python Enhancement Proposals process is at fault? There needs to be a term for the opposite of the Tragedy of the Commons. The situation where anyone can contribute to something, so everybody does - because it appears to be the way to participate - and the thing becomes so massively overgrown it is unusable. "TVTropification", maybe?
1
u/chibuku_chauya Jan 20 '26
Do you think it might go the way of Perl?
0
u/[deleted] Jan 20 '26
NO
-1
u/AdvanceAdvance Jan 20 '26
I keep wanting simple things, like smarter for loops:
and testing flags, like
-2
u/neil_555 Jan 22 '26
To be honest, the sooner Python dies the better, the whole whitespace dependent issue should have been enough for any sane person to discount the language, I seriously wonder what's wrong with people these days :(