I agree with the gist of what is said, but toward the end, I think I see exceptions.
>You deleted more lines than you added
Easy to do if you add a library to remove a roll-your-own solution. However, that can bring in a lot of bloat/attack surface. I love deleting code. It's less for me to maintain. But don't introduce dependency hell while you're at it :)
> It’s easier to test
I've see a lot of code just "moved around" to facilitate this very thing. No actual improvement beyond just moving code around for test coverage on something that has never broken.
panny•5h ago
>You deleted more lines than you added
Easy to do if you add a library to remove a roll-your-own solution. However, that can bring in a lot of bloat/attack surface. I love deleting code. It's less for me to maintain. But don't introduce dependency hell while you're at it :)
> It’s easier to test
I've see a lot of code just "moved around" to facilitate this very thing. No actual improvement beyond just moving code around for test coverage on something that has never broken.