Re:Ask HN: Anyone know any funny programming jokes?
by the_gipsy on Thursday January 21, 2021 @06:21AM
(#25857760)
Ah yes the triple-boolean
Re:Ask HN: Anyone know any funny programming jokes?
by sethammons on Thursday January 21, 2021 @08:13AM
(#25858455)
Reminds me of our five value boolean we used to have: is_deleted. Woe to person who expected that to be 1 or 0. Five distinct and overloaded values were possible, though I now forget them. Probably something like pending, fully deleted, being restored, not deleted, and restored.
Re:Ask HN: Anyone know any funny programming jokes?
by dmingod666 on Thursday January 21, 2021 @10:14AM
(#25859626)
like linux app return codes.
Re:Ask HN: Anyone know any funny programming jokes?
by rzzzt on Thursday January 21, 2021 @08:41AM
(#25858666)
A ternary logic computer to go with it: https://en.wikipedia.org/wiki/Setun
Re:Ask HN: Anyone know any funny programming jokes?
by ljm on Thursday January 21, 2021 @11:15AM
(#25860454)
FileNotFound if it's none of those
1 if its hot.
-1 when its cold :D