Talk Python To Me cover image

#24: Fluent Python

Talk Python To Me

The Importance of Methods in Python

2min Snip

00:00
Play full episode
The way the descriptor mechanisms resolves the dot operator is an expensive thing. So by making it be written as length, uh, parion X, close parion, then temperature can resolve this much faster. If the structure is not a built in structure, then the interpreter falls back to looking up and then there's the cost of the attribute lookup,. But it will look up the dunder lane method. It gives us creators of APIs a way to provide a consistent interface that's consistent with the built in types.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode