Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Hiding awaitables from the language, sounds like against the zen (explicit better than implicit)

Zen is not respected by explicit asyncio, just try to compose asyncio with iterators [1]

[1] https://stackoverflow.com/questions/42448664/async-generator...

This problem doesn't exist with gevent, and composability is a desired thing in any programming language. Python's asyncio fractioned the community that was previously doing implicit asyncio with sync interfaces, and the current state of API is not an example of composable primitives that follow the Zen of Python:

> Beautiful is better than ugly.

> Simple is better than complex.

> Readability counts.

> Special cases aren't special enough to break the rules.



Read that thread in full, it's also a case of explicit is better than implicit. (Async for vs for loops, essentially)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: