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

Episode guests

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.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner
Get the app