Back to Tags

#refactoring

Refactor Plan — Safe Steps, Same Behavior

Plan a refactor you can ship safely: what's wrong with the code now, the target design, small steps that keep behavior unchanged, tests to add first, and how to roll each step back.

Nigel Yoshida

Code Migration — Port Code to a New Language or Framework

Port code to another language, framework or major version without changing what it does: a mapping of old to new, idiomatic target code, the gaps with no direct equivalent, and tests that check both versions match.

Nigel Yoshida