4 ms·
In a recent job I ended up rewriting some of the codebase with this kind of stuff in mind... the results: - 10% of the LOC as previously - Code significantly
by grandalf 11y ago
In a recent job I ended up rewriting some of the codebase with this kind of stuff in mind... the results:
- 10% of the LOC as previously
- Code significantly more understandable
- Jr. developer on the team suddenly became a rockstar b/c he could understand what was going on.
- notNow 11y agoReducing LOC is not always necessarily a good thing. I'd always favor a more readable codebase that takes some effort to explain its purpose than terse one that is vague and obscure that makes your head spin trying to figure out its raison d'etre
- grandalf 11y agoI agree. In this case the code got significantly better organized and more readable in the process.