DFP is a jocular acronym invented by
CrawfordCurrie and
MichaelSparks. It stands for "Delete First Programming", and is meant to convey the semi-serious idea that code improvement can often be best achieved through the following steps:
- Understand the spec that the existing code implements (not what it is supposed to implement, what it actually implements),
- Delete the existing code,
- Write new code to the reverse-engineered spec.