The Little Book of Python Anti-Patterns — Python Anti-Patterns documentation
docs.quantifiedcode.com·2d·
Discuss: Hacker News
Type Checking
Preview
Report Post

Welcome, fellow Pythoneer! This is a small book of Python anti-patterns and worst practices.

Learning about these anti-patterns will help you to avoid them in your own code and make you a better programmer (hopefully). Each pattern comes with a small description, examples and possible solutions. You can check many of them for free against your project at QuantifiedCode.

Why did we write this?

Short answer: We think that you can learn as much from reading bad code as you can from reading good one.

Long answer: There is an overwhelming amount of Python books that show you how to do things by focusing on best practices and examples of good code. There are only very few bo…

Similar Posts

Loading similar posts...