The Real Python Podcast cover image

Python Return Statement Best Practices and Working With the map() Function

The Real Python Podcast

00:00

The Differences Between Name Tuples and Data Classes

There's a very big difference between name tuples and data classes. It kind of comes down to the difference between like a tuple and a dictionary in a lot of ways. The fact that they have a smaller memory footprint, they're based on code written in C instead of your Python. So it could mean quite a large difference in the performance of your program.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app