logoalt Hacker News

whattoday at 4:26 AM1 replyview on HN

> that's tens of thousands of LOC in a single file

Why is this worse than splitting it across 1k files?


Replies

codemogtoday at 6:55 AM

Does taking this example and extending it to the limit answer your question? There is a reason we don’t have a single file called program with a million lines of code in it. Google studies on module size vs code defect rates for more empirical numbers.

show 1 reply