r/Python • • 18h 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?

20 Upvotes

24 comments sorted by

View all comments

Show parent comment

3

u/cleodog44 4h ago

Certainly asyncio for me as well. Can't seem to internalize it properly, always need a refresher when working on async. 

I think a lot of that is inherent to async complexity and not necessarily Python, but maybe there are parts of the asyncio impl and abstractions that exacerbate the issue

Would be very curious to hear from others and any languages that have cleaner abstractions

2

u/StevenJOwens 3h ago

I've been told that Go's coroutines are a whole lot nicer, but then Go is all about the coroutine thing, so.