Write more maintainable Python code, avoid these 15 code smells

This week we talk about code smells. 💡 Listen here: Also available on our YouTube channel: Code smells are characteristics in the code that might indicate deeper issues or potential problems. While they’re not necessarily bugs, they can be a sign of poor code quality or maintainability issues. 😱 We distilled 15 common smells ranging… Continue reading Write more maintainable Python code, avoid these 15 code smells

How the Flocking Rules Can Help You Refactor Your Code

In this new podcast episode we are excited to have Chris May back to delve deeper into the intricacies of refactoring. Watch here: Listen here: We talk about the significance of the Flocking Rules, a set of guidelines derived from “99 Bottles of OOP” by Sandi Metz and Katrina Owen.  These rules provide developers with… Continue reading How the Flocking Rules Can Help You Refactor Your Code

The importance of refactoring regularly [podcast]

In this episode we talk with Chris May, Python developer and coach, about his background and passion for refactoring. Watch here: Or listen here: This turned into a beautiful love letter 💌 to refactoring and we think you should take notice, because adopting the mindset he teaches will improve your code. A lot! Enjoy and… Continue reading The importance of refactoring regularly [podcast]

Help, I need to refactor a mega class! Here are 5 tips …

Somebody asked the other day for tips on how to refactor a mega-class? It was actually one of the first tasks on the new job, ouch! A single class, several thousands lines of code, no tests available 😮 You might scratch your head and say WTF?! After all, good developers decouple code into manageable pieces… Continue reading Help, I need to refactor a mega class! Here are 5 tips …

A Case Study in Refactoring Python: Clean Code Is Often Faster

I have learned a lot over the past 2.5 years of my Python journey. What started out as a hobby during COVID-19 lock downs in 2020, has now become a major component of my professional workload. This article is designed to highlight the importance of the iterative process: write some code -> learn new stuff… Continue reading A Case Study in Refactoring Python: Clean Code Is Often Faster