4 ms·
Since version 3.7 you don't need to touch the loop for nothing, also some old signatures had deprecated the loop param... It's almost the same as if you work wi
by jordic 6y ago
Since version 3.7 you don't need to touch the loop for nothing, also some old signatures had deprecated the loop param... It's almost the same as if you work with node, but with a bit more sugar (tasks, gather, wait, wait_for)
When you work with asyncio daily it's so natural and fun.
- skrtskrt 6y agoAgreed, Python’s async model is the easiest one for me to think about by far and there’s so many high quality libraries
- t-writescode 6y agoHave you used C#'s or Akka's or Go's? I find 2 of those to be easier to reason about and all to be superior.
- jordic 6y agoyes, goroutines are fast and easy... but this thread is about python. I love both languages, and go is fast and safe, but, I also like python (it's fast developing... )
- rumanator 6y ago> yes, goroutines are fast and easy... but this thread is about python. The OP was commenting on what in his opinion was the easiest. That explicitly represents a judgement of Python's features compared with those offered by other languages. Are we supposed to only praise Python in threads about Python?
- jordic 6y agoThought, you misunderstood my opinion, mostly that sometimes there are project constraints, usual the language.. between the python constrain asyncio it's not bad.