257m@lemmy.ml to Programming@programming.dev · 2 years agoWhat are your programming hot takes?message-squaremessage-square890fedilinkarrow-up1330arrow-down114
arrow-up1316arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 2 years agomessage-square890fedilink
minus-squareMajorHavoc@lemmy.worldlinkfedilinkarrow-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.
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.