DEV Community

Discussion on: In programming, is it better to have many small files or one large file?

Collapse
 
cecilelebleu profile image
Cécile Lebleu

Wow, so many answers! Thank you everybody for your valuable input.
It's great to see different opinions from different backgrounds, but I see that generally the agreement is that having more small files tends to be better for the human side of building and maintaining programs. As the computer doesn't really "care" about how many files there are, it's a matter of keeping all the developers, present and future, in mind, when deciding how to organize code. Thanks!