Legacy Code: Sunk Cost or Opportunity?
summary
Argues that code becomes legacy the moment it hits production and that rewrites usually add another system instead of solving the problem. Shows a concrete example: AWS Amplify scaffolds and deploys a React Native + GraphQL + S3 + Lambda stack via CloudFormation, which speeds initial delivery but immediately creates cognitive load, ops and compliance constraints. Recommends refactoring, aligning teams with architecture (team topologies), upskilling engineers and owning deployments rather than defaulting to a rewrite.
AI-written summary · about
