Learn Python with Talk Python's 270 hours of courses

Python Anti-patterns and other mistakes

Episode #18, published Tue, Jul 28, 2015, recorded Wed, Jul 1, 2015

Often the most important lessons we learn is what NOT to do. Show #18 is all about BAD Python code and Python Antipatterns with Andreas Dewes. Listen in to learn about the "Empty Intern Except Block" and other dubious coding decisions!

But it's not all bad news. Andreas and his crew at Quantified Code have built some amazing tools to visual and determine code quality and ferret out these anti-patterns. Are you brave enough to run them on your code?

Links from the show:

The Little Book of Python Anti-Patterns: docs.quantifiedcode.com/python-anti-patterns
python-patterns (good patterns): github.com/faif/python-patterns
Code Smells: c2.com/cgi/wiki?CodeSmell
Refactoring to Patterns: amzn.to/1NfNwvi
Working Effectively with Legacy Code: amzn.to/1T1xZ9n
Clean Code: A Handbook of Agile Software Craftsmanship: amzn.to/1eYg2FN
Agile Principles, Patterns, and Practices: amzn.to/1T1tlYP
Code is beautiful!: quantifiedcode.github.io/code-is-beautiful/
Python code from Ex Machina: github.com/quantifiedcode/exmachina
Ex Machina Trailer: youtube.com/watch?v=XYGzRB4Pnq8


Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon