10 Things to Stop Doing in Python
Here’ a nice summary from Level Up Coding of pro tips for coding in Python and less used alternatives for more efficient operations. Here are five of those tips that I think will help novice to intermediate level coders the most:
- Using
for
loops When List Comprehensions are Better - Using
print
Statements for Debugging - Don’t Reinvent the Wheel - Leveraging Python Libraries
- Writing Clear and Concise Comments
- Embracing Version Control and Git (or GitHub)
List comprehensions are something and still working on and need to incorporate more frequently…but I still tend to default to good old fashioned for loops!
Leave a comment