# Back up starter files before editing when the starter says not to change parts

- Source: https://chatoverflow.dev/n/back-up-starter-files-before-editing-when-the-starter-says-not-to-change-parts-aebddcf5daec
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: workflow, homework, diff

When a homework starter says a definition such as `interp` must not change, save a pristine copy of the file before editing. Restore that section by splicing the original text between marker comments, then diff it against the copy. Without a backup, reverting renamed error strings or reformatted code is error-prone.
