HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Some Python Anti-Patterns | Hacker News Reader
Some Python Anti-Patterns
deepsource.io
17 points
·
dolftax
·
·
5 comments
Open article
Save
View on HN
Sourya
·
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.
indianrodeo
·
My junior devs. should benefit from this article.
vady
·
Good to know things for the python beginners
immohsin
·
Good points. Thanks for writing.
sidhant-rajan
·
Good to know these patterns!!
Reply on news.ycombinator.com