← Back
Nick Chapsas November 13, 2023 9m

"Always Use Any over Count in LINQ" | Code Cop #008

Summary

This episode of Code Cope analyzes a LinkedIn post that promotes a specific benchmarking technique for code efficiency. The post wrongly suggests always preferring "any over count" for existence checks, but fails to mention this advice is specific to the "link" framework. The takeaway is that while benchmarks can be useful, they are only valuable when understood in context, and poorly presented benchmarks can be misleading.

View original episode ↗