3 ms·
> Can't imagine rewriting 40 lines of commentary to suit a 2 line code change to be particularly enjoyable. I have the expectation of a "simple" 2 lime change
by ParetoOptimal 4y ago
> Can't imagine rewriting 40 lines of commentary to suit a 2 line code change to be particularly enjoyable.
I have the expectation of a "simple" 2 lime change that took 24 hours to resolve not require more than 4 lines of commentary.
However I fully admit it's not rational and try to work to change it.
It helps me to remember the end goal isn't just fixing the problem, but also preserving the biggest gotchas, limitations, and most important lessons learned.
- eschneider 4y agoThis. I've absolutely left 20 line comments on 2 line code changes when the reason for the change is non-obvious, subtle and fairly important. I look at it as a favor for future me.