The Real Python Podcast cover image

The Real Python Podcast

Exploring Duck Typing in Python & Dynamics of Monkey Patching

Mar 15, 2024
Topics discussed include duck typing in Python, benefits and drawbacks, monkey patching for runtime behavior modification, Python community articles, becoming a senior developer, data exploration challenges, Python evaluation game, and regex testing with a terminal UI.
50:46

Podcast summary created with Snipd AI

Quick takeaways

  • Duck typing in Python simplifies code development by allowing objects to respond to a set of calls.
  • Monkey patching in Python enables runtime code changes for bug fixes and testing mocks, offering dynamic coding flexibility.

Deep dives

Duct Typing Explained in Python

Duct typing in Python allows objects to respond to a set of calls, enabling flexibility and simplicity in code development. Classes like duck, swan, and albatross with similar methods demonstrate its practical use.

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