The Modern .NET Show

Comparers with Stephen Cleary


Listen Later

This episode is sponsored in part by dotConnect by Devart. Whether you're a developer or a business owner, dotConnect has the database integration tools you need to succeed.

Remember: you can also always follow the show on Twitter @dotnetcoreshow, and the shows host on Twitter @podcasterJay or visit our Contact page.

Welcome to season 5 of the award-winning .NET Core Podcast! Check that link for proof.

Hello everyone and welcome to THE .NET Core Podcast. An award-winning podcast where we reach into the core of the .NET technology stack and, with the help of the .NET community, present you with the information that you need in order to grok the many moving parts of one of the biggest cross-platform, multi-application frameworks on the planet.

I am your host, Jamie "GaProgMan" Taylor. In this episode, I talked with Stephen Cleary about his Comparers library and how comparison and equality of objects in your code base mean different things to different people. For instance, one block of code may view equality as two different object instances with the same ID field, and a different block of code may view equality as a combination of other properties being equal. It's all different for different people, for different consumers, right.

We also talk about the importance of unit testing in the comparers library and how writing these unit tests has sort of unearthed some interesting corner cases in the .NET BCL. Along the way, we discuss our opinions and guesswork regarding a potential corner case in the .NET BCL. But please do remember that neither Stephen nor myself actually work for Microsoft or indeed were involved in writing the original BCL. As such, our opinions and guesswork are just that: guesswork and opinions.

The full show notes, including links to some of the things we discussed and a full transcription of this episode, can be found at https://dotnetcore.show/episode-119-comparers-with-stephen-cleary

Useful Links from the episode:

  • The .NET Core Podcast Discord Server
  • Comparers
  • The Spaceship operator
  • AsyncEx library
  • SemaphoreSlim
  • video series on YouTube on TCP/IP protocol design
  • Performance Improvements in .NET 7
  • Flight 68k
  • Don't repeat yourself (DRY)
  • HashCode
  • C# language repo
  • Stephen Clary on GitHub
  • stephencleary.com
  • Cleary Coding
  • Steve Cleary on Twitter

Remember to rate and review the show on Apple Podcasts, Podchaser, or wherever you find your podcasts, this will help the show's audience grow. Or you can just share the show with a friend.

And don't forget to reach out via our Contact page. We're very interested in your opinion of the show, so please get in touch.

You can support the show by making a monthly donation on the show's Patreon page at: https://www.patreon.com/TheDotNetCorePodcast

...more
View all episodesView all episodes
Download on the App Store

The Modern .NET ShowBy Jamie Taylor

  • 4.6
  • 4.6
  • 4.6
  • 4.6
  • 4.6

4.6

33 ratings


More shows like The Modern .NET Show

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

378 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

262 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

246 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

43 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

629 Listeners

Go Time: Golang, Software Engineering by Changelog Media

Go Time: Golang, Software Engineering

128 Listeners

Merge Conflict by soundbite.fm

Merge Conflict

89 Listeners

JS Party: JavaScript, CSS, Web Development by Changelog Media

JS Party: JavaScript, CSS, Web Development

92 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

185 Listeners

Adventures in .NET by Charles M Wood

Adventures in .NET

6 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

137 Listeners

The Unhandled Exception Podcast by Dan Clarke (@dracan)

The Unhandled Exception Podcast

2 Listeners