Skip to content
#059 - 10 Python clean code tips drawn from code reviews episode artwork

Feb 17, 2022 10 min

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

from Pybites Podcast Hosted by Julian Sequeira & Bob Belderbos

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.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

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

0:00 10:38

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Pybites Podcast?

This episode is 10 minutes long.

When was this Pybites Podcast episode published?

This episode was published on February 17, 2022.

Can I download this Pybites Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.