4 ms·
> It's okay to have files with 10,000 lines. I find there are practical negative consequences to having a 10,000 line file (well, okay; we don't have those at
by swsieber 4y ago
> It's okay to have files with 10,000 lines.
I find there are practical negative consequences to having a 10,000 line file (well, okay; we don't have those at work, we have one 30k line file). It slows both the IDE and git blame/history when doing stuff in that file (w.r.t. I'll look at the history of the code when making some decisions). These might not be a factor depending on your circumstances (e.g. a young company where git blame is less likely to be used or something not IDE driven). But they can actually hurt apart from pure code concerns.