(It was a personal project.)
Sometimes the best documentation is seared into your soul as a mark of shame. I think I’ll wake up a few times wincing about it.
Should someone inherit your project and end up fixing another bug in that part of the code they may be benefit from any information you share.
Shame is temporary, public repos are not.
(I say this as someone who has a track record of being too hard on myself!)
// BOGUS: assuming 'x' will never be greater than 1024.
Sort of tells future engineers, yeah, I know it's shit.
A comment I left that I am sometimes reminded of by ex-coworkers still at that company.
(It was a personal project.)
Sometimes the best documentation is seared into your soul as a mark of shame. I think I’ll wake up a few times wincing about it.