sboulema@lemmy.world to .NET Programming@lemmy.worldEnglish · 1 year agoAnnouncing .NET 8 Preview 5 - .NET Blogdevblogs.microsoft.comexternal-linkmessage-square2fedilinkarrow-up11arrow-down10cross-posted to: [email protected][email protected][email protected]
arrow-up11arrow-down1external-linkAnnouncing .NET 8 Preview 5 - .NET Blogdevblogs.microsoft.comsboulema@lemmy.world to .NET Programming@lemmy.worldEnglish · 1 year agomessage-square2fedilinkcross-posted to: [email protected][email protected][email protected]
minus-squareschmalls@lemmy.worldlinkfedilinkEnglisharrow-up0·1 year agoI 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.
minus-squaresboulema@lemmy.worldOPlinkfedilinkEnglisharrow-up1·edit-21 year agoAgreed! Doesn’t feel natural. The IsEmpty check feels acceptable though…
I don’t think I am a fan of the analyzer to prefer
Count
orLength
checks over.Any()
. The readability of any is much clearer in my opinion.Agreed! Doesn’t feel natural. The IsEmpty check feels acceptable though…