Inspired by
How do you avoid "Code Burnout"? here is the meditation for initating peace from the beginning.
Having worked hard on your project how do you create peace of mind about your code?
What you expect of code? What makes you happy? How do you select the priorities. ( add your own)
- Solve the problem at hand
- Code Storage - backup
- Modularity
- Comments
- Documentation
- Features
- Algorithms
- Program Structure
- Version Controls
- Support Issues
- :-)
- Showing more development time
- Looking good Visually
- Obfu..
Thus when you write now and look after few days/months/years you should have the sense of fullfilment. You can look at the code to say, that you tried to achieve the 'items' at that time and it still holds true or it is time to get peace of mind about this 'item'. By having proper idea, you can refactor easily if necessary. For example, even if you have spagetti-code but well-commented, it could be less work to make it modular v/s if it was not commented.
Thanks
artist