Instead of explaining something to a rubber duck, why not explain it via an extensive comment? Maybe this isn’t practical for projects with multiple people, but if it’s personal code, writing it down seems better as a way to force rigor from yourself, and it’s an investment into a possible future in which you have to understand the code once again.
Instead of explaining something to a rubber duck, why not explain it via an extensive comment? Maybe this isn’t practical for projects with multiple people, but if it’s personal code, writing it down seems better as a way to force rigor from yourself, and it’s an investment into a possible future in which you have to understand the code once again.