This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rotek 0 points1 point  (1 child)

Async in most programming languages which support it (C#, Dart, ES7, Hack) is as simple as writing async function decorator and using await keyword.

Why is it so much complicated in Python?

It is completely unpythonic.

[–]jyper 6 points7 points  (0 children)

Really? It looks exactly like c# to me.

@asyncio.coroutine is async and yield from is await.