4 ms·
I don't agree with this definition of intent. For me intent is about why a piece of code is written the way that it is, which is also what the article itself eq
by Joeri 14y ago
I don't agree with this definition of intent. For me intent is about why a piece of code is written the way that it is, which is also what the article itself equates it to.
Also, I don't think you can write many useful comments when returning to a piece of already written code. The only way to understand the why of a piece of code is to trace all its implications, and it is not efficient to make that sort of investment after the fact. The easiest way to produce high quality comments is to write them during the act of programming.