Snippet · Writing & changing code
Move it to a different stack
In slices, with something working at every step.
I have <current stack> and I want to get to <target>. Here's the code: <paste or describe> Do NOT rewrite it all at once. Give me a migration plan where the app works after every step: - What moves first, and why that piece. - How the old and new parts talk to each other during the transition. - The point of no return, and what I should verify before it. - What I could keep on the old stack forever without shame. Then we do step one, and only step one.
A big-bang rewrite is a project with no working version in the middle and no honest way to measure progress. Slices give you both.