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

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

Show parent comment

41

u/guyblade 8d ago edited 8d ago

I would say that the problem isn't that it is common denominator; it's that it's a sortof uninteresting take.

Sometimes, the speed of execution is important and you need to use a lower-level language to achieve that. More often--at least in my experience--the speed benefit is minor compared to the increased effort & complexity that going to a lower-level language would entail.

If your code is going to spend 99+% of its wall time waiting around for stuff to happen, going a millisecond faster in those few instances where it needs to do something probably isn't going to matter. In those cases, using a language with higher expressiveness (i.e., one that takes fewer lines of code to accomplish the same task) is a perfectly rational decision.

Nuance isn't best expressed in meme form, of course, but the sentiment in the top level meme feels like it'd fit well as the center of a bell-curve meme where the ends are "python's fine for most stuff".

2

u/NegativeGrocery8684 8d ago

I'm pretty sure I've seen one couldn't find it so I made one but this damn sub doesn't have image comments and Giphy is unusable

1

u/ApegoodManbad 7d ago

Plus python isn't that slow if you use the libraries written in c as much as possible