News for hackers. Stuff that matters.
Re:Astonishing Performance of .NET 5 by eric_b on Thursday November 12, 2020 @11:28AM (#25071513)
The .Net Core documentation is indeed a dumpster fire. As a longtime C# guy I can't even find the up-to-date "blessed" way to do things with ASP.NET anymore. They change it every version it seems. The DI/IoC stuff is definitely too pervasive, particularly in an ASP.NET context.

That said, the new C# language features really do reduce boilerplate when used judiciously - multiple return is now available, "expression-bodied properties", improved template strings etc. Lots of good stuff that is hard to find good documentation for :)

Re:Astonishing Performance of .NET 5 by rblatz on Thursday November 12, 2020 @11:51AM (#25071705)
Oh man, flashbacks to when Go style channels were added. I ended up digging through the code in github, and looking at examples from MS devs on twitter to piece together how they worked.
Re:Astonishing Performance of .NET 5 by balfirevic on Thursday November 12, 2020 @03:36PM (#25074602)
Can you clarify what you mean by Go style channels? Not sure what that refers to in .NET