21 min listen
#127 - How the Flocking Rules Can Help You Refactor Your Code
FromPybites Podcast
ratings:
Length:
24 minutes
Released:
Aug 11, 2023
Format:
Podcast episode
Description
In this new podcast episode we are excited to have Chris May back to delve deeper into the intricacies of refactoring.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 a systematic approach to refine their code by focusing on recognizing similarities, identifying minimal differences, and making straightforward changes. We also talk about the importance of taking small, incremental steps in refactoring, ensuring code health while mitigating the risks of accumulating technical debt. We reference some useful resources along the way. Last but not least, we talk about the book Chris recommended last time (episode 119): Building a Second Brain, and how it helps him stay organized and be more productive.Chapters:00:00 Intro00:20 Chris May and refactoring topic intro01:10 25% ratio refactoring02:14 Flocking rules (99 bottles of OOP)05:30 Continuously managing technical debt / Slack channel06:14 Why the flocking rules are great + 99 bottles backstory08:30 Code towards a design pattern vs go with the flow09:57 First draft - we often don't know the design upfront10:37 Python Design Patterns resource by Brandon Rhodes12:32 Take the smallest possible steps when refactoring13:57 Advantages of taking small steps15:18 'Building a second brain' book and how it works for you19:10 Obsidian as favorite note taking tool20:02 More inspiration and stories from the book22:16 Check out Refactoring Toolkit + how to reach out + thanks23:44 OutroResources:- 99 bottles of OOP book- Python Design Patterns- Building a second brain- Chris' Refactoring Toolkit- Previous episode with ChrisReach out to Chris:- Website- Mastodon- Twitter- LinkedIn- Pybites Community (we have a dedicated #refactoring channel ?)
Released:
Aug 11, 2023
Format:
Podcast episode
Titles in the series (100)
#020 - From Physicist to Cloud Software Architect by Pybites Podcast