r/ProgrammingLanguages • • 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

61 comments sorted by

View all comments

Show parent comment

1

u/Expurple Jan 21 '26 edited Jan 22 '26

It isn't the duck typing that is the issue.

I didn't imply that. I even mentioned Concepts as the solution that achieves good compile errors without nominal typing. I simply disputed that "duck typed templates like C++ seem to get much less criticism".

The C++ standard library is also just usually pretty badly implemented with a whole lot of helper templates that show up in error messages because you basically get a stack trace.

IMO, the depth of helper templates isn't the issue here. That's simply an implementation detail. The issue is that unconstrained (pre-Concept) templates don't have any abstraction boundaries and leak that "stack trace" in the first place.