News for hackers. Stuff that matters.
Re:Stop Writing Dead Programs (Transcript) by aidenn0 on Thursday October 20, 2022 @01:01AM (#33271003)
I have spent much of my career reading and understanding code written by others. Comments have helped me twice in that time.

Many other times the comments have made understanding the code harder.

My motto is that comments are the only part of the code you can be sure are not tested. At best they record the intent of an author at some unknown point in the past.

Re:Stop Writing Dead Programs (Transcript) by hrbf on Thursday October 20, 2022 @04:19AM (#33272060)
> At best they record the intent of an author at some unknown point in the past.

This probably says something about the priority the teams you worked with put on documentation. Write once and never update?

Re:Stop Writing Dead Programs (Transcript) by aidenn0 on Thursday October 20, 2022 @09:22AM (#33274293)
I mean the unknown point in the past could be yesterday, but it could also be 25 years ago.