CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 days agoThis is a glassprogramming.devimagemessage-square66fedilinkarrow-up1490
arrow-up1490imageThis is a glassprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 days agomessage-square66fedilink
minus-squareFtumch@lemmy.todaylinkfedilinkarrow-up36·edit-22 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-up13·2 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-squarehakunawazo@lemmy.worldlinkfedilinkarrow-up1·12 hours 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.
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up3·2 days 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.
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.
Inevitably whatever is under the glass gets wet anyway… because it’s raining.