Commit to a small refactor with a safety check and a clear trigger.
One behavior-preserving refactor in code you will touch within 3 days A real function, component, or module where the next feature would be safer after one small cleanup I will refactor [specific code] by [small structural move] while preserving [named behavior]. My safety check is [test, characterization, or manual verification]. I will do it when [specific coding trigger] occurs in the next 3 days. Target: [function/module]. Refactor move: [extract, rename, index, split]. Preserved behavior: [observable result]. Proof: [test/check]. Trigger: [when I next touch...]. In 3 days, confirm whether the refactor happened and whether the safety check ran. When I next…
Sign up free — one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in