News for hackers. Stuff that matters.
Re:You Want Modules, Not Microservices by swsieber on Tuesday January 03, 2023 @11:00AM (#34233119)
> 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.

There are no comments on this comment yet.