Re:Ask HN: Anyone know any funny programming jokes?
by th0114nd on Wednesday January 20, 2021 @11:59PM
(#25855604)
It’s a short circuiting conjunction. Consider `aliceWantsADrink && bobWantsADrink`. If Alice doesn’t want a drink, she knows it’s not the case that both of them want a drink. Since she says “maybe” instead of “no” she signals to Bob that she wants a drink, and so he concludes they both want a drink.
[ Parent
| on HN ]
There are no comments on this comment yet.