4 ms·
0 if the bottle is empty. 1 if its hot. -1 when its cold :D
by dmingod666 6y ago
0 if the bottle is empty.
1 if its hot.
-1 when its cold :D
- the_gipsy 6y agoAh yes the triple-boolean
- sethammons 6y agoReminds 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.
- dmingod666 6y agolike linux app return codes.
- rzzzt 6y agoA ternary logic computer to go with it: https://en.wikipedia.org/wiki/Setun https://en.wikipedia.org/wiki/Setun
- ljm 6y agoFileNotFound if it's none of those
- mrob 6y agoAs reported in the famous Daily WTF post: https://thedailywtf.com/articles/What_Is_Truth_0x3f_ https://thedailywtf.com/articles/What_Is_Truth_0x3f_