When you look at code you wrote last year
When you look at code you wrote last year
When you look at code you wrote last year
And I always think I write good comments until a year later I'm like these comments don't help shit
Try to write as if you are explaining the functionality to an unrelated 3rd party like a new hire.
Yeah, write it for the person who has to replace you when you inevitably get laid off so that your company can hire someone for half your salary.
Don't be a dick to your (current) co-workers.