async / await

russhy russhy at gmail.com
Thu Oct 7 22:35:23 UTC 2021


I don't think trying to replicate C# async/await is a good idea, 
it promotes creating bad APIs (GetThisAsync | 
GetThisAsync.ButSyncThisTimeToGetResult)

https://kristoff.it/blog/zig-colorblind-async-await/

Zig's approach is cleaner imo


More information about the Digitalmars-d mailing list