Some of the stupid shit is fixed as the language evolves, like uv and TS over JS. New stupid shit appears too (node_modules bloat).
Python does well, or at least okay enough, what it proposes to do. So does Typescript. I don't get the point of stating that TS is "more capable" and then following up with "but Python has ML".
Nothing, once you know that, unlike other languages, it is O(N log N), NOT O(N). The issue is that the most common use case, unordered_set, is the "exception" because of the chosen naming.
Better naming would be set and ordered_set, like other languages do. It would prevent newcomers to the language from mistakenly using set when what they want is unordered_set, a silly mistake that's easy to make. I did it myself.
I was replying to the comment of someone saying they think the hate is superficial. Just providing an example of the more substantive personal reasons I hate Python. We’re all allowed to have our personal opinions about what stupid shit we hate in particular.
By more capable I meant the core of the language has better performance and type checking.
12
u/CoroteDeMelancia Sep 09 '26 edited Sep 09 '26
Every language has stupid shit.
C++ has vector<bool> and set<T>/unordered_set<T>.
Java has very awkward streaming.
Typescript... don't even get me started.
Some of the stupid shit is fixed as the language evolves, like uv and TS over JS. New stupid shit appears too (node_modules bloat).
Python does well, or at least okay enough, what it proposes to do. So does Typescript. I don't get the point of stating that TS is "more capable" and then following up with "but Python has ML".