-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Labels
Description
Would it be worth including bits on organizing files and general structure for modules? For example:
- Do functions get their own files? If so, how to name these files? If mixed, when to separate these into individual files? My take: Regardless of lines of code, I prefer to separate every function into it's own file
- Is there a preferred / 'best practice' for organization? For example:
- Repository Root
- Tests
- Integration
- Unit
- ModuleName
- ModuleName.psd1
- ModuleName.psm1
- \Public - Public functions in here (or at root?)
- \Private - Private functions in here
- \lib - Optional folder for libraries
- \bin - Optional folder for binaries
- Tests
- Repository Root
I could see this spiraling out of control, and most (or all) of it would be subjective, so might not be appropriate here.
Cheers!