3 ms·
Most people don't add more code just for fun. If you're deleting something you had better have a solution to whatever problem that code was solving in the firs
by jandrese 6y ago
Most people don't add more code just for fun. If you're deleting something you had better have a solution to whatever problem that code was solving in the first place.
It definitely makes sense to delete code in some cases, but most of the time the solution requires the addition of code. This makes sense, the size of a program doesn't tend towards zero over time. They tend to grow as new features are necessary and yet the old features can't be retired without causing disruption.
- Spartan-S63 6y agoAdditionally, time pressure constraints often prevent refactoring and other code-minimizing opportunities. Usually, there isn't enough time given to paying down tech debt or refactoring swaths of code to allow for the overall reduction in line count while delivering new features. That reality, though, isn't always possible, and software will always trend towards larger line counts and more complexity.