3 ms·
In general, a problem with big files is encapsulation -- ideally you want private fields to have as little visibility to other code as possible.
by sunshowers 2y ago
In general, a problem with big files is encapsulation -- ideally you want private fields to have as little visibility to other code as possible.
- klysm 2y agoAgreed but this really depends on what tools the language gives you for modules. Some languages have the module structure directly coupled to the file layout like JavaScript, where others are a lot more flexible.