When I have to read 3 paragraphs to learn something that could have been expressed in 5 words, none of which are actually true, I'm not sure that counts.
As if they weren't important for programmers and just there for non-programmer.
Programmers have to comment enough their code. Without enough comments, it's hard (and sometimes nigh impossible) to understand the written code, even to an experienced programmer.
This apply as well to their own old code and to others code.
More than comments, better naming conventions and using better patterns helps.
Code comments should generally be there for doc generation, to justify why something is being done a particular way (such as explaining a non-obvious algorithm, like Quake's old fast inverse square root, which I argue was under-commented but hilariously so).
22
u/aryakvn Sep 26 '26
Rule of thumb: if it's well documented it's probably vibecoded
15
u/sdjopjfasdfoisajnva Sep 26 '26
7
u/fcxtpw Sep 26 '26
Proceeds to lay on fence
5
u/asmanel Sep 27 '26
Comment are important for non-programmers...
As if they weren't important for programmers and just there for non-programmer.
Programmers have to comment enough their code. Without enough comments, it's hard (and sometimes nigh impossible) to understand the written code, even to an experienced programmer.
This apply as well to their own old code and to others code.
Comments have to be abundant and always clear.
2
u/Xaeroxe3057 Oct 01 '26
Fun fact: this is a photo from Lagoon, an amusement park in Utah. This is taken from the queue for a ride called The Spider.