Your story brought to mind this bit of Apple folklore[0], wherein Bill Atkinson, the author of QuickDraw, reported his weekly LOC as -2,000 after implementing optimizations.
[0] https://www.folklore.org/StoryView.py?story=Negative_2000_Li...
Re:I got my first $50/mo customer
by realusername on Thursday May 07, 2020 @12:02AM
(#23099592)
That's pretty common, my contribution to my current work is surely in the negative as well due to the massive amount of spaghetti code I had to refactor.
So I started doing tiny commits to counter that.
I would gladly use this thing as a f* you before leaving.