4 ms·
I'm curious how they managed to refactor about 150,000 lines of code down to a few thousand lines.
by talmand 9y ago
I'm curious how they managed to refactor about 150,000 lines of code down to a few thousand lines.
- x1798DE 9y agoCould be they slashed a bunch of features, but I wouldn't be surprised if they replaced a bunch of homebrewed frameworks with third party equivalents. "Line count" is such a vague measure, it's easy to get counter-intuitive results.
- ryandrake 9y agoI used to routinely achieve 10-to-1 code refactors, without losing any functionality, and have probably done a few 20-to-1's. 50-to-1 is not really unbelievable. It's amazing the kind of pointless verbosity and over-complication some programmers are capable of. Besides refactoring, there's also garbage cleanup. We've all seen instances of huge, 1000 line functions that do nothing because the result of their calculation was thrown away, or because it's never called in the first place.