3 ms·
> It's okay to have files with 10,000 lines. It's okay not to put "business logic" in a special place. Couldn't disagree more. As usual, it's a tradeoff. You c
by yodsanklai 4y ago
> It's okay to have files with 10,000 lines. It's okay not to put "business logic" in a special place.
Couldn't disagree more. As usual, it's a tradeoff. You could spend an infinite amount of time refactoring already fine programs. But complex code decreases developers productivity by orders of magnitude. Maybe it's not always worth refactoring legacy code, but you're always much better off if your code is modular with good separation of concerns.