2 ms·
The Little Book of Python Anti-Patterns
- musicale 7y agodefaultdict() 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.
- musicale 7y agoI'm glad that Django is listed as an anti-pattern.
- Nicksil 7y agoIt's clearly not listed as an anti-pattern here.