Chapter 14Reduce, Reuse, Recycle, Refactor
In Chapter 13 we took a break from coding our game to clean up our code. We are going to continue doing that in this chapter.
Understanding Refactoring
In Chapter 13 we talked about continuously finding ways to improve our code. After all, code is never really done. It can always be further refined and optimized—which is why coders regularly dedicate time to refactoring their code. Refactoring is the process of improving how code functions. When you refactor your code, you change how it works without changing what it does.
New Term
Refactoring Refactoring is the process of improving how your code ...
Get Captain Code: Unleash Your Coding Superpower with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.