Shotgun Surgery

Noun · Slang & Abbreviations

Definitions

  1. A code smell where one conceptual change requires small edits across many different files or modules. It signals poor cohesion because related behavior is scattered throughout the system.

    In plain English: A design problem where one small change forces edits in many scattered places.

    Example: "Adding one invoice field caused shotgun surgery across controllers, serializers, jobs, and templates."

Related Terms