Chapter 13. File and Directory Structure
- One object per file
- Group related files in directories
If you have multiple objects that are related, put all of those files into a single directory. You might, for instance, have multiple files with code to make a single module. It makes sense to have a directory just for that module containing all of the files. Grouping related files helps developers locate functionality easily.
- Keep third-party code separate
Any code that isn’t being ...