Re:Some Python Anti-Patterns
by Sourya on Saturday April 06, 2019 @02:06PM
(#19592129)
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.