DEV Community

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

Collapse
 
arnauldvm profile image
Arnauld Van Muysewinkel

1/ Do not confuse the files that are used to write your code with the files that you deploy. You may perfectly work with many small files that are packaged in one single file when deploying.

2/ As far as version control and collaboration are concerned, many small files is certainly the way to go. Merges will be far easier.