CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 1 month agoThis is a glassprogramming.devimagemessage-square38linkfedilinkarrow-up1475arrow-down120
arrow-up1455arrow-down1imageThis is a glassprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 1 month agomessage-square38linkfedilink
minus-squareFtumch@lemmy.todaylinkfedilinkarrow-up39·1 month 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-up14·1 month 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·1 month agoInevitably whatever is under the glass gets wet anyway… because it’s raining.
minus-squarehakunawazo@lemmy.worldlinkfedilinkarrow-up1·1 month 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.