MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/pythontips/comments/ba6um0/some_python_antipatterns/ek9ppw3/?context=3
r/pythontips • u/dolftax • Apr 06 '19
https://deepsource.io/blog/8-new-python-antipatterns/
18 comments sorted by
View all comments
0
[deleted]
4 u/Airith Apr 06 '19 Exceptions in python are decently performant, it's quite common to use them for control flow. I don't think the user/age is a good example for them. Returning None would be akin to returning an error code like in C code.
4
Exceptions in python are decently performant, it's quite common to use them for control flow. I don't think the user/age is a good example for them. Returning None would be akin to returning an error code like in C code.
0
u/[deleted] Apr 06 '19
[deleted]