How not to benchmark

Always be careful when you see benchmarks

How not to benchmark
4 minutes by Steven Giesel

I came across a recent LinkedIn post about the let statement in LINQ and it's performance implication. And in typically influencer fashion it out right claimed that using let in LINQ is a bad idea and should be avoided. But is it a bad idea?

Open-source SDK generation is great for hobbyist development but isn't sufficient for enterprise APIs. That's why we built the Speakeasy SDK generator. You can create strongly-typed, customizable C# SDKs automatically from your OpenAPI spec. Read about how Speakeasy SDK generation compares to some of the popular OSS C# generators and create your first SDK for free.

Composing Linq Queries
1 minute by Shawn Wildermuth

First, when you need to modify a query from input, this is less clunky that two completely different queries. But, more importantly I think, by breaking up a complex query into individual steps, it can help the readability of the query.

Debug your .NET 8 code more efficiently
2 minutes by Bart Wullems

ET 8 introduces a lot of debugging improvements. If you take a look for example at the HttpContext, you see that you get a much better debug summary than in .NET 7.

In this post I describe a relatively niche scenario, in which you have references to two libraries that both define a given type. This type has the same name in both libraries, so how does the compiler know which one to use?

Using the System.Diagnostics.CodeAnalysis namespace to quiet nullability warnings in C# code.

how did you like this issue?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.