Skip to content
TrackPodcasts
technologyFeb 17, 202210:38pending

#059 - 10 Python clean code tips drawn from code reviews

Pybites Podcast

About this episode

This podcast episode is based on this article.

Additional resources:
- 10 Tips to Write Better Functions in Python
- Linting tools: flake8, black and pre-commit on which we have a training: Increase Python code quality with pre-commit
- Mentioned Vim plugin I use to disallow save if there are syntax errors
- Two exception handling articles: 7 Tips to Improve Your Error Handling in Python and Errors should never pass silently
- Not mentioned but relevant for the namespaces part: When to Write Classes in Python And Why it Matters
- Useful Python Built-in Functions [Beginner / Intermediate]
- Idiomatic Python: EAFP versus LBYL
- Zen of Python (or type "import this" in the REPL) / PEP8
- A great book in this context is Uncle Bob's Clean Code.

---
Thanks for listening. If you struggle with this, check out our PDM coaching program where we can significantly increase your Python and developer skills in 10 weeks.

Get every episode summarized

Each time Pybites Podcast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

Hosts & guests

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

#059 - 10 Python clean code tips drawn from code reviews

Pybites Podcast

0:00
10:38

More episodes

More from Pybites Podcast

View all episodes →