The modern async stuff in C# is pretty cool, but async 'infects' code a bit like GPL - anything calling an async method is typically async too unless it needs to 'collapse' using await.
So every method ends up returning Task<whatever you want to return> and being called MethodNameAsync.
I was wondering if C# will move to make that implicit at some point because it leads to pretty ugly code and more typing. Anyone on the bleeding edge of C# to know? I noticed today that you can have a console app without a main() method so it seemed plausible.
So every method ends up returning Task<whatever you want to return> and being called MethodNameAsync.
I was wondering if C# will move to make that implicit at some point because it leads to pretty ugly code and more typing. Anyone on the bleeding edge of C# to know? I noticed today that you can have a console app without a main() method so it seemed plausible.
Comment