Hacker News new | ask | show | jobs
by electroly 25 days ago
> unless you're writing desktop UI code

Indeed, you need a crapload of ConfigureAwait() in desktop UI code, and it infects all underlying libraries that might have to run inside a desktop app. The worst thing they ever added to our beautiful language. It's a dream to work in ASP.NET without needing to pepper every await with a ConfigureAwait().

That said, I don't agree with the characterization of ConfigureAwait() as un-understandable. We understand it. We just hate it.

1 comments

In case you were not aware, you can use Fody to automatically add ConfigureAwait everywhere it's needed at build time: https://github.com/fody/configureawait