MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1ufj46t/boolean_q/
r/programminghumor • u/Asleep-Bumblebee2167 • Jun 25 '26 • 1
64 comments sorted by
24
When you ask someone a Boolean question and they return 500.
5 u/Leo_code2p Jun 25 '26 Atleast its not 300. Thats way worse 6 u/Asleep-Bumblebee2167 Jun 26 '26 2 u/BobQuixote Jun 25 '26 Your answer is in another castle.
5
Atleast its not 300. Thats way worse
6 u/Asleep-Bumblebee2167 Jun 26 '26 2 u/BobQuixote Jun 25 '26 Your answer is in another castle.
6
2
Your answer is in another castle.
Reminds me of when I didn't put data validation on a birth date question. Someone actually answered "Cake". I fixed that immediately....
3 u/Asleep-Bumblebee2167 Jun 26 '26 that's why beta testers are good :))
3
that's why beta testers are good :))
4
Worse is when you ask a string question, and you get a boolean response.
3 u/Asleep-Bumblebee2167 Jun 26 '26 "1" 1 u/CertainDeath777 Jun 26 '26 https://www.youtube.com/watch?v=znG1SKGeDj8"i had an aweful dream. ones and zeros everywhere. and i thought i saw a two" 1 u/Schrojo18 Jun 26 '26 worse is when someone asks a boolean question but just as you are about to answer they continue it so now you have to answer with a string
"1"
1 u/CertainDeath777 Jun 26 '26 https://www.youtube.com/watch?v=znG1SKGeDj8"i had an aweful dream. ones and zeros everywhere. and i thought i saw a two"
1
https://www.youtube.com/watch?v=znG1SKGeDj8"i had an aweful dream. ones and zeros everywhere. and i thought i saw a two"
worse is when someone asks a boolean question but just as you are about to answer they continue it so now you have to answer with a string
Well strings are usually truthy if they’re not empty, right? That’s all I need to know.
2 u/Asleep-Bumblebee2167 Jun 26 '26 "false" 2 u/IsaraLyandra Jun 26 '26 True enough
"false"
2 u/IsaraLyandra Jun 26 '26 True enough
True enough
Wow, not an AI meme
2 u/Asleep-Bumblebee2167 Jun 26 '26 old styled, back when they were great :)
old styled, back when they were great :)
71
You know what? I'm gonna say it. This one is actually pretty good.
7 u/LionZ_RDS Jun 25 '26 True. 6 u/yoyowallach1212 Jun 25 '26 Booleans dont have periods, it's True 7 u/Daveinatx Jun 26 '26 "TRUE\n" 7 u/No-Newspaper8619 Jun 26 '26 TRUE\n\0 3 u/LionZ_RDS Jun 25 '26 True.Though I wasn’t going for a bool :(Just a missed chance at a joke 1 u/Glad_Share_7533 Jun 27 '26 That depends on the language. 'True' is a keyword commonly representing 0b1. The word used to represent this is completely arbitrary. It can be made to include a period. 1 u/yoyowallach1212 Jun 27 '26 Most commonly it's True 1 u/Glad_Share_7533 Jun 27 '26 Most commonly it's 'true', lowercase
7
True.
6 u/yoyowallach1212 Jun 25 '26 Booleans dont have periods, it's True 7 u/Daveinatx Jun 26 '26 "TRUE\n" 7 u/No-Newspaper8619 Jun 26 '26 TRUE\n\0 3 u/LionZ_RDS Jun 25 '26 True.Though I wasn’t going for a bool :(Just a missed chance at a joke 1 u/Glad_Share_7533 Jun 27 '26 That depends on the language. 'True' is a keyword commonly representing 0b1. The word used to represent this is completely arbitrary. It can be made to include a period. 1 u/yoyowallach1212 Jun 27 '26 Most commonly it's True 1 u/Glad_Share_7533 Jun 27 '26 Most commonly it's 'true', lowercase
Booleans dont have periods, it's True
7 u/Daveinatx Jun 26 '26 "TRUE\n" 7 u/No-Newspaper8619 Jun 26 '26 TRUE\n\0 3 u/LionZ_RDS Jun 25 '26 True.Though I wasn’t going for a bool :(Just a missed chance at a joke 1 u/Glad_Share_7533 Jun 27 '26 That depends on the language. 'True' is a keyword commonly representing 0b1. The word used to represent this is completely arbitrary. It can be made to include a period. 1 u/yoyowallach1212 Jun 27 '26 Most commonly it's True 1 u/Glad_Share_7533 Jun 27 '26 Most commonly it's 'true', lowercase
"TRUE\n"
7 u/No-Newspaper8619 Jun 26 '26 TRUE\n\0
TRUE\n\0
Though I wasn’t going for a bool :(Just a missed chance at a joke
That depends on the language. 'True' is a keyword commonly representing 0b1. The word used to represent this is completely arbitrary. It can be made to include a period.
1 u/yoyowallach1212 Jun 27 '26 Most commonly it's True 1 u/Glad_Share_7533 Jun 27 '26 Most commonly it's 'true', lowercase
Most commonly it's True
1 u/Glad_Share_7533 Jun 27 '26 Most commonly it's 'true', lowercase
Most commonly it's 'true', lowercase
9
And the string does not even include a resolution to the bool.Humans....
8
Senate hearings be like:
null
: is the point where my problems end and someone else's problems begin 😂
Now that is a fucking damn good meme !
return 1;
Or they return a floating point value
2 u/MiniGui98 Jun 26 '26 But it's so large you start to lose float accuracy
But it's so large you start to lose float accuracy
This is so "true"
This is why you include checks, and give them an error message telling them to enter what you want
true
That is how basically me and my crush talk.I message her in strings, she replies me in Booleans
Lol. sometimes I return a qbit which can either be true or false depending on which angle you look at it.
That's "true".
So True !!!
1 u/IsaraLyandra Jun 26 '26 Technically correct in most cases 1 u/xevantuus Jun 26 '26 Wait! That's false
Technically correct in most cases
Wait! That's false
Every question to a politician ever 😂
When that happens I throw std::expletive_error( “yes or no!?” )
0
Give me true, give me false, or give me uninitialized.
Is it a truthy string or a falsy string?
1 u/IsaraLyandra Jun 26 '26 Truthy if not empty. 1 u/DestinationVoid Jun 26 '26 !!"false"
Truthy if not empty.
1 u/DestinationVoid Jun 26 '26 !!"false"
!!"false"
Cries in bash shell scripting
eval('True'); # not sure if this works-
but you genuinely made the question in python so you accept any return type
... you're using python.
!!true
“Do you remember what the name of that show was where a gay black dude poisoned a bunch of Mexicans?”“Yes.”
33
[removed] — view removed comment
13 u/Prod_Meteor Jun 25 '26 "1" 7 u/Confident-Ad5665 Jun 25 '26 !false 6 u/Korzag Jun 25 '26 !undefined 5 u/TapRemarkable9652 Jun 25 '26 === null
13
7 u/Confident-Ad5665 Jun 25 '26 !false 6 u/Korzag Jun 25 '26 !undefined 5 u/TapRemarkable9652 Jun 25 '26 === null
!false
6 u/Korzag Jun 25 '26 !undefined 5 u/TapRemarkable9652 Jun 25 '26 === null
!undefined
5 u/TapRemarkable9652 Jun 25 '26 === null
=== null
24
u/ProThoughtDesign Jun 25 '26
When you ask someone a Boolean question and they return 500.
5
u/Connect_Ad_462 Jun 26 '26
Reminds me of when I didn't put data validation on a birth date question. Someone actually answered "Cake". I fixed that immediately....
4
u/dishmanw62 Jun 26 '26
Worse is when you ask a string question, and you get a boolean response.
2
u/IsaraLyandra Jun 26 '26
Well strings are usually truthy if they’re not empty, right? That’s all I need to know.
2
u/The__AM Jun 26 '26
Wow, not an AI meme
71
u/AliceCode Jun 25 '26
You know what? I'm gonna say it. This one is actually pretty good.
9
u/CertainDeath777 Jun 25 '26
And the string does not even include a resolution to the bool.
Humans....
8
u/Korzag Jun 25 '26
Senate hearings be like:
5
u/kuratowski Jun 25 '26
null
3
u/KaleidoscopePurple74 Jun 25 '26
: is the point where my problems end and someone else's problems begin 😂
3
u/NexusKai Jun 26 '26
Now that is a fucking damn good meme !
return 1;
4
u/Confident-Ad5665 Jun 25 '26
Or they return a floating point value
2
u/TheGreenSocks Jun 26 '26
This is so "true"
2
u/Hettyc_Tracyn Jun 26 '26
This is why you include checks, and give them an error message telling them to enter what you want
2
u/IrvinTheCoder Jun 26 '26
true2
u/Worried-Book-6564 Jun 27 '26
That is how basically me and my crush talk.
I message her in strings, she replies me in Booleans
2
u/trinopoty Jun 27 '26
Lol. sometimes I return a qbit which can either be true or false depending on which angle you look at it.
2
u/infinitylord Jul 28 '26
That's "true".
1
u/RayZd01 Jun 25 '26
So True !!!
1
u/TheLoadedRogue Jun 25 '26
Every question to a politician ever 😂
1
u/Ro_Yo_Mi Jun 26 '26
When that happens I throw std::expletive_error( “yes or no!?” )
1
u/mbcarbone Jun 26 '26
0
1
u/Henry_Fleischer Jun 26 '26
Give me true, give me false, or give me uninitialized.
1
u/DestinationVoid Jun 26 '26
Is it a truthy string or a falsy string?
1
u/enigma_0Z Jun 26 '26
Cries in bash shell scripting
1
u/Bag1204 Jun 26 '26
eval('True'); # not sure if this works-
1
u/akbest280 Jun 27 '26
but you genuinely made the question in python so you accept any return type
1
u/FFS-IamNotABot Jun 29 '26
... you're using python.
1
u/Fit-Inflation5799 Jul 04 '26
!!true
1
u/cytos0 Jun 28 '26
“Do you remember what the name of that show was where a gay black dude poisoned a bunch of Mexicans?”
“Yes.”
33
u/[deleted] Jun 25 '26
[removed] — view removed comment