I should know. Why else would I be coding in my seventies?
However, as with anything that we enjoy doing we must learn to do it in a disciplined manner.
In the zone one needs the discipline to :
- Write the Executable Specification before implementing the code that it will test.
- Use the idioms of team's coding standard.
- Spend time on thinking up names that convey the intention/purpose/responsibility of the files, objects, structures, functions, and variables.
- Commit frequently to the version control system (I advocate using Git). Do a diff of the source files with the earlier commit. Document the reason for the changes in the commit log.
- Refactor ruthlessly.
The discipline has to be practiced when in the zone.
Easier said than done. I should know. Six-Pack Abs need discipline 😊
No comments:
Post a Comment