Comment on Bill is a pro grammer

<- View Parent
MrSqueezles@lemm.ee ⁨11⁩ ⁨months⁩ ago

I agree for inline code comments, like, “# Save the sprocket”, right above the line that saves the sprocket. Does this include documentation? Because when I see a prepareForSave function that references 10 other functions and I just want to know, “Is this mutating and how is it preparing for save and when should I call it?”, having the author spend 15 seconds telling me is less time consuming than me spending 5 minutes reading code to find out. Anyone who has read API docs has benefited from documentation.

source
Sort:hotnewtop