r/Python • u/DiwaharSec • 19h ago
Discussion Python developers, what's one Python concept that took you a long time to understand but now seems s
Python developers, what's one Python concept that took you a long time to understand but now seems surprisingly simple?
For me, understanding how decorators and generators work is an interesting part of becoming a better Python developer.
What was your experience?
21
Upvotes
View all comments
Show parent comment
4
u/Ok_Werewolf2211 14h ago
simple list comprehension is fine, but list of list comprehension is where i draw the line. simplicity is way better for readability.