
#18: Python Anti-patterns and other mistakes
Talk Python To Me
00:00
How to Handle Errors in Python
In Python, you can just like iterate directly over a list, for example, and not use a range. This is only a small thing, but it also makes your code much more readable and it helps you to avoid errors. Another one that you have that I think is pretty common for people who are new to Python is using an un-pythonic loop or a non-Pythonic loop. What's a nine non- pythonic loop for the listeners?
Play episode from 23:47
Transcript


