Does it ever end? Well, for this guide yes. But in real life, refactoring is something that is constantly done. It can also be a bit of a double edged sword. While some amount of refactoring is definitely good, it is possible to start chasing rabbits down holes or going in circles chasing your own tail.

The best practices for how and when to refactor come with experience. For now, just realize what it is and how it can help improve your code.

Make sense?

BEEP! BEEP!

Double yes! Thanks. Glad it helped.

This guide was first published on Jan 23, 2017. It was last updated on Mar 08, 2024.

This page (Refactor N) was last updated on Jan 22, 2017.

Text editor powered by tinymce.