
Exploring the magic of instant python refactoring with Sourcery
The Stack Overflow Podcast
00:00
Refactoring Python Code
When you refat the code, it makes it much easier to read than understand. The next person that comes along can understand your code, and they can build on top of it. In sauce code, you've got your single main function, and it's got all other logic in there. And once you've written that, you can refacture it. You can split it out into smaller functions that each do a individual thing. That is very clear, easy to understand and easy to read.
Transcript
Play full episode