3 ms·
I always write TODO statements with a number from 1 to 4, indicating the severity. 1 is immediate, meaning it needs to be fixed for the system to work. 2 is s
by topmonk 7y ago
I always write TODO statements with a number from 1 to 4, indicating the severity.
1 is immediate, meaning it needs to be fixed for the system to work.
2 is something that should be done before release.
3 is a near term wish list sort of thing, and
4 is a hopeful, probably never sort of thing
In addition, another place I deviate from the norm is when I comment out code, I write the reason why it's commented out.
These two things really help keep my code from becoming incomprehensible as time passes.
- nfoz 7y agoThat sort of convention sounds fine for a solo project, but I think if you have more or changing developers then it would make things more confusing.