CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 7 days agoThis is a glassprogramming.devimagemessage-square64linkfedilinkarrow-up1512arrow-down121
arrow-up1491arrow-down1imageThis is a glassprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 7 days agomessage-square64linkfedilink
minus-squareFtumch@lemmy.todaylinkfedilinkarrow-up41·7 days 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-up15·7 days 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-up3·7 days agoInevitably whatever is under the glass gets wet anyway… because it’s raining.
minus-squarehakunawazo@lemmy.worldlinkfedilinkarrow-up1·6 days agoA software tester walks into a bar Runs into a bar. Crawls into a bar. Dances into a bar. Flies into a bar. Jumps into a bar. And orders: a beer. 2 beers. 0 beers. 99999999 beers. a lizard in a beer glass. -1 beer. “qwertyuiop” beers. Testing complete. A real customer walks into the bar and asks where the bathroom is. The bar goes up in flames.
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.
A software tester walks into a bar
Runs into a bar.
Crawls into a bar.
Dances into a bar.
Flies into a bar.
Jumps into a bar.
And orders:
a beer.
2 beers.
0 beers.
99999999 beers.
a lizard in a beer glass.
-1 beer.
“qwertyuiop” beers.
Testing complete.
A real customer walks into the bar and asks where the bathroom is.
The bar goes up in flames.