3 ms·
Comment your code. Not just the what it does, but the why as well. Basically document everything in your comments, approaches you tried, what worked, what didn'
by groffee 4y ago
Comment your code. Not just the what it does, but the why as well. Basically document everything in your comments, approaches you tried, what worked, what didn't etc.
Also if you get some code from Stack Overflow etc, then leave yourself a comment of the link you found the code/library too.
- WalterGR 4y ago100%. Think of comments not as some additional hassle dumped on you, but as being kind to your future self for when you look at the code again.