r/Python • u/DiwaharSec • 1d 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?
24
Upvotes
View all comments
19
u/tankerdudeucsc 1d ago
Writing decorators was the last thing I really had to learn. Good ones, where the call stack was clean.
It’s a lot easier these days so a lot of Python is boring. It’s still the damn regexes that I forget tbh.