News for hackers. Stuff that matters.
Re:Zig's dot star syntax (value.*) by d0mine on Sunday March 09, 2025 @04:44PM (#43313578)
In Python, there is no .await. But I can't remember seeing (await (await for).bar) ever--meaning it is very unlikely. It is usually written as:

    bar = await foo()
    await bar.coro(*args)
Some people hate that calling functions of different colors is syntactically distinct. On the contrary, I find it beneficial that suspension points stand out. Unlike code with preemptive threads that is much harder to reason about.

There are no comments on this comment yet.