minus-squareMajorHavoc@lemmy.worldtoProgramming@programming.dev•What are your programming hot takes?linkfedilinkarrow-up1·2 years agoThere’s no such thing as self documenting code, unless every method and variable name has the word “because” in it. Anyone can read what the code does. The comments are there to answer why it does what it does the way it does. Why is invariably lost to time, if it’s not committed to a comment here and there. linkfedilink
There’s no such thing as self documenting code, unless every method and variable name has the word “because” in it.
Anyone can read what the code does. The comments are there to answer why it does what it does the way it does.
Why is invariably lost to time, if it’s not committed to a comment here and there.