dotnet·.NET Programmingbysboulema Announcing .NET 8 Preview 5 - .NET Bloghttps://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-5/Open linkView original on lemmy.world10Comments2Reply
schmalls lemmy.world1Hide 1 replyI don't think I am a fan of the analyzer to prefer Count or Length checks over .Any(). The readability of any is much clearer in my opinion.1Reply
sboulema replylemmy.worldAgreed! Doesn't feel natural. The IsEmpty check feels acceptable though...3Reply
2 replies
I don't think I am a fan of the analyzer to prefer
CountorLengthchecks over.Any(). The readability of any is much clearer in my opinion.Agreed! Doesn't feel natural. The IsEmpty check feels acceptable though...