r/PythonLearning • • 6h ago

Learning Python Feels Easy. Until It Isn’t.

https://youtu.be/8_Pf4y5yqCE?si=B3d16ujUEwRsVZdF

Explore many more ArjanCodes videos.

9 Upvotes

5 comments sorted by

View all comments

1

u/RNG_HatesMe 2h ago

I respect that he acknowledges that comprehensions can be compact, but they can also be hard to read, and that loops are usually just as good and easier to follow, despite taking more lines.

There are definitely times that comprehensions are efficient and useful, but I don't like encouraging beginners to use them, I think it encourages them to think that shorter code is "better".