45

That moment when you eliminate more than 100 lines of code

Comments
  • 1
    I have once eliminated 5000 lines out of 12000 in a project, not counting external library sources that crept in for some reason. However, there were no real tests in that project so I have never merged it into master. Believe me, those lines *were* duplicated, superfluous or dead. Conclusion: make tests, not LOC. (there was a test or two, using local paths in some long-gone developer's machine)
  • 2
    guy in my team recently deleted 10000 unused java classes in a project that is basically one huge technical debt.. that was a good day :D
  • 0
    @kargaroth that must've saved you lots of memory of that project. I take my hat to you sir
  • 1
    Did you KISS that code? :P
Add Comment