4 ms·
Honestly, I feel that the code I write is self-documenting unless there's an obscure gotcha that necessitates a comment.
by boringuser2 4y ago
Honestly, I feel that the code I write is self-documenting unless there's an obscure gotcha that necessitates a comment.
- ChatGTP 4y ago…hint the code you write yourself is not self-documenting. Signed, yourself from the future.
- noduerme 4y agoTrust me, if you're lucky enough to get to sharpshoot your own code and refine it every couple years, you really want as many comments as possible to get you into the headspace you were in when you reduced it the first couple times. If its logic is still readable without any comments, then it probably isn't very dense code. I go back and look at shit I wrote ten or fifteen years ago and feel like it was written by a super intelligent alien. The again, I feel a weak version of that when I look at code I wrote last month. So yeah, commenting