CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 16 hours agoThis is a glassprogramming.devimagemessage-square54fedilinkarrow-up1395arrow-down112
arrow-up1383arrow-down1imageThis is a glassprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 16 hours agomessage-square54fedilink
minus-squareFtumch@lemmy.todaylinkfedilinkarrow-up28·edit-215 hours agoThat’s not a good comment. What it is should be clear from the naming and context. A good comment explains the why when that is not obvious: // This glass is at 50% capacity because we don't want it to overflow if it rains
minus-squareone_old_coder@piefed.sociallinkfedilinkEnglisharrow-up9·14 hours agoAnd in 5 years you will wonder why the glass is under the rain because someone didn’t put that in the specifications.
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up1·12 hours agoInevitably whatever is under the glass gets wet anyway… because it’s raining.
That’s not a good comment. What it is should be clear from the naming and context. A good comment explains the why when that is not obvious:
And in 5 years you will wonder why the glass is under the rain because someone didn’t put that in the specifications.
Inevitably whatever is under the glass gets wet anyway… because it’s raining.