4 ms·
Python Zen: Explicit is better than implicit There's a python library gevent which experimented with a more implicit design. Or more, this is about green threa
by __s 6y ago
Python Zen: Explicit is better than implicit
There's a python library gevent which experimented with a more implicit design. Or more, this is about green threads vs async/await
It can also be a bit confusing when you don't allow separating await from the call: how do you implement Promise.all?
For official rationale see https://www.python.org/dev/peps/pep-0492/#why-async-and-await-keywords https://www.python.org/dev/peps/pep-0492/#why-async-and-awai...
- ioquatix 6y agoasync/await is a huge anti-pattern IMHO.