Learn Python with Talk Python's Python courses

Refactoring your code, like magic with Sourcery

Episode #266, published Fri, May 29, 2020, recorded Thu, May 21, 2020.

This episode is carbon neutral.
Refactoring your code is a fundamental step on the path to professional and maintainable software. We rarely have the perfect picture of what we need to build when we start writing code and attempts to over plan and overdesign software often lead to analysis paralysis rather than ideal outcomes.

Join me as I discuss refactoring with Brendan Maginnis and Nick Thapen as well as their tool, Sourcery, to automate refactoring in the popular Python editors.

Links from the show


Brendan Maginnis: @brendan_m6s
Nick Thapen: @nthapen

Sourcery: sourcery.ai
Sourcery on Twitter: @sourceryai
VS Code and PyCharm Plugins: sourcery.ai/editor
GitHub Bot: sourcery.ai/github
For an instant demo ⭐ this repo, and Sourcery will refactor your most popular Python repo: github.com/sourcery-ai/sourcery

Python Refactorings article: sourcery.ai/blog

Talk Python episode: talkpython.fm
Nuitka site: github.com

Gilded Rose Kata: github.com
Episode transcripts: talkpython.fm

Stay in touch with us
Subscribe on YouTube (for live streams): youtube.com
Follow Talk Python on Twitter: @talkpython
Follow Michael on Twitter: @mkennedy

Want to go deeper? Check out our courses

Episode sponsored by
Ads served ethically
Become a friend of the show
Stay in the know and get a chance to win our contests.
See our privacy statement about email communications.