Talk Python To Me cover image

#275: Beautiful Pythonic Refactorings

Talk Python To Me

Code Refactoring - How Do You Know When You Need It?

2min Snip

00:00
Play full episode
A refactoring can be reorganizing or re structuring your code, or rewriting little bits of it to make it more readable, maintainable, scaleable and just in better, in general, better code. For me, i have a sort of anti patterns in my head that when i recognize them in the code. The easiest code to refactor is code with tests, whether that's unit tests or aggression tests or any of the other number of tests that there are. If you have a code based that has zero tests, refactoring is very, very dangerous,. ecause you can refractor something and completely change the behaviour and not know about it - which is not ideal at

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode