TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do you migrate a big old project (4 years) or redo it?

2 pointsby gl-prod11 months ago

5 comments

mikewarot11 months ago
An existing code base, even one as recent as 4 years old, gives you something to test against. You haven&#x27;t specified why you have to abandon it, especially as it&#x27;s practically brand new.<p>If you have to migrate to a new platform, try to get buy in from everyone that you&#x27;re going to <i>only</i> match feature for feature, until the old one is turned off for the last time.<p>You can make decisions with upgrades in mind, but just push to get it moved completely first. You don&#x27;t want to end up paying technical debt in 2 places forever.
muzani11 months ago
Generally, the older it is, the harder it is to redo. There&#x27;s a <i>lot</i> of undocumented bug fixes that accumulate as a project gets older. Some things are so bad that you just can&#x27;t do anything with it and it&#x27;s easier rebuilt than done.<p>Often it&#x27;s best to have high test coverage when migrating. You can push this to be part of the current project if it&#x27;s not there and it&#x27;s some productivity anyway. I usually skip things that test&#x2F;mock the code and just do things like UI or API tests.<p>Migrations may take much, much, much, much longer than anticipated. If you have a gantt chart of some kind, make sure it&#x27;s not reliant on the migration.
solardev11 months ago
More details?<p>This can be so different between some small company&#x27;s website vs an enterprise SASS, for example.<p>What is your project? Who are the stakeholders? Who are the users? What are your resources and budget? What are your goals and constraints?
评论 #40786750 未加载
zerr11 months ago
Most of the time, old projects just work.
xlinux11 months ago
I would migrante it