Every time I am working on a project, specially a project from scratch, I always feel like I am doing a messy job. I feel bugged all the time by the need or organizing code that is clean or proper way.
For example;
- Avoid hard-coding file paths in gulpfile.
- Require all node modules in similar fashion.
- What should be the ideal directory structure for this project.
- UI. The *** UI.
The Question
What are the strategies I can follow to not drown into that world? Thinking over and over on the organization aspect of the project gets me really low on productivity.
In general, how to approach a project from scratch so I can get the most done without the code organization overhead?
Notes after the possible duplicate flag
I can understand why this is flagged as possible duplicate as the question is more of an overview rather than a specific question.
The question I have is more about what kind of mentality a programmer should have when starting a project from scratch so they end up delivering more rather than getting trapped by code organization issues.