↓ Skip to main content

Break the rewrite cycle

·202 words·1 min

Been there, rewritten that.

Every software engineer has imagined an amazing rewrite that breathes new life into a legacy codebase/stack, but let’s be honest: Some rewrites feel destined for a repeat โ€“ the Groundhog Day of software dev.

What’s the Cycle? Tangled legacy code tempts engineers to start fresh, followed by a lack of stakeholder buy-in, rosy estimates, and scope creep leading to half-baked rewrites that become the next rewrite target before they’re even shipped.

Break the Cycle! Before diving into a rewrite, tech leaders should: โŒš Estimate Effort: Realistically assess the time and resources needed ๐Ÿงพ Validate Assumptions: Use Spikes or PoCs to tighten estimates ๐ŸŽฏ Plan for Impact: Identify business goals the rewrite will disrupt ๐ŸŒน Honest Plans: Don’t let rosy assumptions ignore the challenges ๐Ÿ’ฐ Secure Buy-in: Get stakeholder approval on effort vs. payback time

Lock in Value! Rewrites typically aren’t fast, so plan for incremental deployment that is resilient to business priorities shifting: โฏ๏ธ Unlock progressing small increments when time allows ๐ŸŽข Deliver value early and often to retain buy-in ๐Ÿ’ฃ Avoid “big bang” approaches with all value at end

This approach sure isn’t foolproof, but it significantly reduces your chances of reliving the rewrite nightmare. Good luck!