have you heard the phrase “the body is open”?

I thought this phrase was a common idiom, but judging from the Google results, now I’m not so sure. I had a boss years ago who taught it to me. The phrase comes from surgery, as I heard the story. If you’re a surgeon and you’ve already gone to the trouble of sedating a patient, sterilizing the room, and cutting open the patient’s body to repair one thing, if you see another thing that needs fixing right next to it, you might as well fix the second thing, too. Otherwise, you’ll have to sew the body back up and let the patient recover from this surgery, only to come back and do another surgery to fix the second problem in the future.

This idiom applies really well to software maintenance, in my experience. Suppose you’ve done the work to analyze and understand a piece of existing source code well enough that you can find and fix a bug that’s been reported. If you see there’s a related bug in the same section of code, it’s cheaper to just go ahead and fix it while “the body is open”.

Have you ever heard this idiom before? Does it apply to your field of work?