I’d say if performance and functionality remain the same it improve and complexity is reduced then the 2kloc codebase is better
If it’s 2k lines of perl, it’s worse
Though in his case it sounds like he reduced complexity and improved performance, so definitely better.
I don’t know if I’ve even written -2000 lines at once, but I’ve definitely done -700 or so at least. Feels so good to delete a bunch of code without any loss in functionality.
Is it objectively more valuable?
I’d say if performance and functionality remain the same it improve and complexity is reduced then the 2kloc codebase is better
If it’s 2k lines of perl, it’s worse
Though in his case it sounds like he reduced complexity and improved performance, so definitely better.
I don’t know if I’ve even written -2000 lines at once, but I’ve definitely done -700 or so at least. Feels so good to delete a bunch of code without any loss in functionality.