Live data from Hacker News

Some Python Anti-Patterns

deepsource.io

1–6 of 6 posts

Re: Some Python Anti-Patterns

#4
Interesting set of pointers. Another point, that I am not sure whether would qualify as an anti-pattern: asking for forgiveness rather than permission. Basically, using "try... except" rather than "if hasattr(obj, attribute)" etc.