3 ms·The trick is to generate a spec from the old code, then generate the new codebase from the spec.by phpnode 6mo agoThe trick is to generate a spec from the old code, then generate the new codebase from the spec.