Tuesday, 23 April 2013

Slow and steady wins the race


Are you looking to refactor your existing codebase and don't have a clue where to start?

Start with a block of code, a big function, a class, anything that you just look at and think WTF, where do I start!.

Make it simpler, better, more modular. Apply today's best practices to the code, even if you don't think it will make much of a difference.

Rename variables to be more meaningful, extract some of the methods or if statements into separate functions.

And do the same thing the next day. And the day after that.

Pretty soon, you'll begin to realize major rewards from minor efforts. And, you'll also reach a point where major structural changes will both be possible and reasonable - and, if you've done your job right, not all that hard.

Slow and steady wins the software race.

No comments:

Post a Comment

Headless CMS: Revolutionising Content Management for Modern Web Projects in 2025

Headless CMS has become a cornerstone of modern web development, decoupling content management from presentation for unparalleled flexibilit...