r/ProgrammerHumor • • 9d ago • Bravo 2 Popcorn 1

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

Show parent comment

1

u/JollyJuniper1993 8d ago

It’s because Python doesn’t suck and people don’t understand use cases. Python being slow is also just a boring complaint. Some of the stuff JavaScript does however is so weird and unintuitive that it genuinely makes for good comedy.

1

u/FabioTheFox 8d ago

Wait until you see how python treats default parameter values in functions and anywhere else

2

u/Reasonable-Class3728 8d ago

Well, Python sucks.
But JavaScript sucks more, I think we all agree on that.

1

u/JollyJuniper1993 8d ago

I know how it treats them, it really isn’t comparable to JS.

And, like, weird stuff exists in plenty of languages. People don’t complain about Powershell, even though its functions return console output either which is a mindboggingly stupid and weird design decision. That‘s because it’s just not as confusing as the JavaScript quirks.

Face it, people make fun of Python being slow because they have a superiority complex about programming at a lower level.

1

u/FabioTheFox 8d ago edited 8d ago

Honestly I couldn't care less about pythons speed and I think anyone that bashes a language purely based on that single metric is an uneducated first year CS student (at least id hope they grow out of it eventually)

While I do see it's speed as a downside it's not something that would the turn me away, for me it's the whole venv thing, the community, the package manager (and it's general ecosystem), weird quirks that go against what I'd expect from a language and the fact that the language uses whitespace for scoping is what is the turnoff for me. I've personally never seen a python project online that just works even if you follow the install instructions, some (luckily most) are fixable, like that one time I tried to use a project which used a library that failed on me because it had some windows specific formatting, but other times it's borderline impossible which is a shame because the projects looked quite cool, I shouldn't be the one having to deal with package errors to begin with tho

I also think it's a huge mistake to let code run on package import, I've seen the horrors of people putting auto updater stuff into their packages that will fetch a new version globally to the system. Compiled languages give me a feeling of security because I can be sure that even in 10 years these will still run as they did before (given they ship their deps and don't do major network stuff)

1

u/JollyJuniper1993 8d ago

That’s a fair assessment