Search a title or topic

Over 20 million podcasts, powered by 

Player FM logo
Artwork

Content provided by Real Python. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Real Python or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Design Patterns That Don't Translate to Python

49:12
 
Share
 

Manage episode 497716104 series 2637014
Content provided by Real Python. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Real Python or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

Do the design patterns learned in other programming languages translate to coding in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher dives into an article that tackles popular object-oriented design patterns from the famous Gang of Four book. These patterns offer solutions to common coding problems, but as Christopher explores, Python often doesn’t even have the problems these solutions try to fix. He discusses several common design patterns and the simpler, more Pythonic ways to achieve the same goals.

We also share several other articles and projects from the Python community, including an exceptionally robust news roundup, running coverage on tests, an exploration of expert generalists, a preview of template strings from Python 3.14, a quiz on f-strings, and a project that calculates the complexity of your Python code.

Course Spotlight: Working With Python’s Built-in Exceptions

Learn the most common built-in Python exceptions, when they occur, how to handle them, and how to raise them properly in your code.

Topics:

  • 00:00:00 – Introduction
  • 00:02:03 – Python 3.14.0b4 Released
  • 00:02:11 – Python 3.14 release candidate 1 is go!
  • 00:02:48 – PyPy v7.3.20 Release
  • 00:03:00 – Textual 4.0.0 Released
  • 00:03:23 – Announcing Toad - a universal UI for agentic coding in the terminal
  • 00:03:42 – uv 0.8.0 Released
  • 00:03:56 – Django Bugfix Release 5.2.4
  • 00:04:14 – Django Community Ecosystem
  • 00:04:52 – Happy 20th Birthday Django!
  • 00:05:31 – PyData London 2025 Videos
  • 00:05:48 – PEP 792: Project Status Markers in the Simple Index
  • 00:06:09 – PEP 800 – Solid bases in the type system
  • 00:07:06 – Run Coverage on Tests
  • 00:14:32 – Design Patterns You Should Unlearn in Python
  • 00:18:13 – Video Course Spotlight
  • 00:19:24 – Expert Generalists
  • 00:34:42 – Python 3.14 Preview: Template Strings (T-Strings)
  • 00:41:00 – fstrings.wtf - Python F-String Quiz
  • 00:43:09 – complexipy: Calculate Complexity of Your Python
  • 00:48:18 – Thanks and goodbye

Survey:

News:

Show Topics:

  • Run Coverage on Tests – Code coverage tools tell you which parts of your programs got executed during test runs. They’re an important part of your test suite, and without them, you may miss errors in your tests themselves. This post has two quick examples of just why you should use a coverage tool.
  • Design Patterns You Should Unlearn in Python – The Gang of Four design patterns specify object-oriented solutions to common issues in code, but Python doesn’t have many of the problems the solutions are aiming to solve. This article talks about some of the common patterns and the easier ways to solve the problems they intend to address in Python. See also Part 2.
  • Expert Generalists – MartinFowler.com – “As computer systems get more sophisticated we’ve seen a growing trend to value deep specialists. But we’ve found that our most effective colleagues have a skill in spanning many specialties.”
  • Python 3.14 Preview: Template Strings (T-Strings) – Python 3.14 introduces t-strings: a safer, more flexible alternative to f-strings. Learn how to process templates securely and customize string workflows.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

260 episodes

Artwork
iconShare
 
Manage episode 497716104 series 2637014
Content provided by Real Python. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Real Python or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

Do the design patterns learned in other programming languages translate to coding in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

Christopher dives into an article that tackles popular object-oriented design patterns from the famous Gang of Four book. These patterns offer solutions to common coding problems, but as Christopher explores, Python often doesn’t even have the problems these solutions try to fix. He discusses several common design patterns and the simpler, more Pythonic ways to achieve the same goals.

We also share several other articles and projects from the Python community, including an exceptionally robust news roundup, running coverage on tests, an exploration of expert generalists, a preview of template strings from Python 3.14, a quiz on f-strings, and a project that calculates the complexity of your Python code.

Course Spotlight: Working With Python’s Built-in Exceptions

Learn the most common built-in Python exceptions, when they occur, how to handle them, and how to raise them properly in your code.

Topics:

  • 00:00:00 – Introduction
  • 00:02:03 – Python 3.14.0b4 Released
  • 00:02:11 – Python 3.14 release candidate 1 is go!
  • 00:02:48 – PyPy v7.3.20 Release
  • 00:03:00 – Textual 4.0.0 Released
  • 00:03:23 – Announcing Toad - a universal UI for agentic coding in the terminal
  • 00:03:42 – uv 0.8.0 Released
  • 00:03:56 – Django Bugfix Release 5.2.4
  • 00:04:14 – Django Community Ecosystem
  • 00:04:52 – Happy 20th Birthday Django!
  • 00:05:31 – PyData London 2025 Videos
  • 00:05:48 – PEP 792: Project Status Markers in the Simple Index
  • 00:06:09 – PEP 800 – Solid bases in the type system
  • 00:07:06 – Run Coverage on Tests
  • 00:14:32 – Design Patterns You Should Unlearn in Python
  • 00:18:13 – Video Course Spotlight
  • 00:19:24 – Expert Generalists
  • 00:34:42 – Python 3.14 Preview: Template Strings (T-Strings)
  • 00:41:00 – fstrings.wtf - Python F-String Quiz
  • 00:43:09 – complexipy: Calculate Complexity of Your Python
  • 00:48:18 – Thanks and goodbye

Survey:

News:

Show Topics:

  • Run Coverage on Tests – Code coverage tools tell you which parts of your programs got executed during test runs. They’re an important part of your test suite, and without them, you may miss errors in your tests themselves. This post has two quick examples of just why you should use a coverage tool.
  • Design Patterns You Should Unlearn in Python – The Gang of Four design patterns specify object-oriented solutions to common issues in code, but Python doesn’t have many of the problems the solutions are aiming to solve. This article talks about some of the common patterns and the easier ways to solve the problems they intend to address in Python. See also Part 2.
  • Expert Generalists – MartinFowler.com – “As computer systems get more sophisticated we’ve seen a growing trend to value deep specialists. But we’ve found that our most effective colleagues have a skill in spanning many specialties.”
  • Python 3.14 Preview: Template Strings (T-Strings) – Python 3.14 introduces t-strings: a safer, more flexible alternative to f-strings. Learn how to process templates securely and customize string workflows.

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

260 episodes

Alle episoder

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Copyright 2025 | Privacy Policy | Terms of Service | | Copyright
Listen to this show while you explore
Play