T
24

Read a comment about Python being 'too slow' for beginners and had to laugh

Some guy on a thread yesterday was telling a new coder to avoid Python because it's not fast enough for real apps. I've pressure washed driveways for 10 years and my first script took 2 seconds to rename 400 files. How slow does your code need to be before it actually matters to you?
2 comments

Log in to join the discussion

Log In
2 Comments
rivera.henry
Counterpoint: slow code scales into a nightmare when you're doing real automation daily.
6
the_mia
the_mia1mo ago
Tbh that guy's argument falls apart as soon as you actually use Python for something real. I've had scripts that take 15 seconds to process a few thousand files and it still beats doing it by hand every single time. Speed only matters when your code is running in production at scale, not when you're a beginner just trying to rename files or scrape a website.
4