Hacker News new | past | comments | ask | show | jobs | submit login
The Little Book of Python Anti-Patterns (quantifiedcode.com)
8 points by BerislavLopac on July 23, 2019 | hide | past | favorite | 3 comments



defaultdict() has the annoying property that it easily creates erroneous keys (e.g. "key" and "keyy") rather than raising an exception. I avoid it for that reason.


I'm glad that Django is listed as an anti-pattern.


It's clearly not listed as an anti-pattern here.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: