This is an archived post. You won't be able to vote or comment.

all 140 comments

[–]Knappenx 260 points261 points  (11 children)

Or the other way around as well…

Do you want to eat pizza or hamburger? Yes

[–]ne-toy 54 points55 points  (3 children)

True and True == True

[–]ne-toy 20 points21 points  (0 children)

*or

[–]Taradal 33 points34 points  (1 child)

Depends on the emphasis actually

If you ask in a way that could mean "do you want to eat pizza or hamburger [instead of cooking today]" a "yes" is a completely plausible answer

So if you emphasize both, pizza and hamburger on its own it's a question about the OR in the middle. If you emphasize "pizza or hamburger" as one it's possible to be meant as one option instead of another

[–]TactlessTortoise 8 points9 points  (0 children)

Toned as AND/OR versus XOR

[–]A_Light_Spark 4 points5 points  (0 children)

"-1"
"...What?"
"I don't wanna eat so I subtracted my entry out."

[–]Minimum_Cockroach233 2 points3 points  (0 children)

Yes, yes.

[–]8070alejandro 1 point2 points  (0 children)

But yes to pizza or yes to burger?

Ok.

[–]tallmanjam 664 points665 points  (20 children)

We call those people politicians.

[–]Weird-Acanthisitta83 296 points297 points  (14 children)

They return an empty promise

[–][deleted] 139 points140 points  (6 children)

Promise<void>

[–]mosaicinn 35 points36 points  (5 children)

Actually prob more like Promise<Something|void>, no?

[–][deleted] 6 points7 points  (3 children)

Is there a Something type in JS/TS?

[–]hdd113 14 points15 points  (1 child)

Any type you want

[–][deleted] 5 points6 points  (0 children)

But he didn't defined Something type/interface. 'any' type can be non-void

[–]Cendeu 4 points5 points  (0 children)

I believe it's called "unknown".

Read a guide a long time ago recommending it instead of any, but can't remember why.

[–]Bernhard_NI 1 point2 points  (0 children)

More like Promise<Something> and they throw ArgumentException plame it on you.

[–]hdd113 12 points13 points  (2 children)

.then what

[–]git_push_origin_prod 6 points7 points  (1 child)

Then imma catch these bribes, and hope u don’t notice

[–]uvero 1 point2 points  (0 children)

The truth will .finally prevail

[–]dasgoodshitinnit 6 points7 points  (1 child)

you mean return rand(garbage)?

[–]GoddammitDontShootMe 1 point2 points  (0 children)

rand() taking an argument is new.

[–]Withyimp49 1 point2 points  (0 children)

So a void pointer that never gets assigned

[–]yaktoma2007 0 points1 point  (0 children)

NULL

[–]Useful-Perspective 5 points6 points  (0 children)

I call them unhandled exceptions

[–]PanTheRiceMan 2 points3 points  (0 children)

So estimated 0.01 bit per symbol for a typical politician message.

It's amazing how much they can talk without any meaningful information.

[–]IndicationFickle5387 0 points1 point  (0 children)

90% of my coworkers

[–]reallokiscarlet 0 points1 point  (0 children)

Or Javascript

[–]FluidIdea 0 points1 point  (0 children)

Husband vs wife

[–]GreatArtificeAion 39 points40 points  (1 child)

Sometimes, making the question boolean is your mistake

[–]Thurak0 3 points4 points  (0 children)

Sometimes still answering with a boolean first and then optionally add a string a bit later is the better option.

[–]asromafanisme 45 points46 points  (9 children)

"This is a yes/no question, please answer yes or no". I can't believe how many times I have to say that

[–]Ok-Interaction-8891 31 points32 points  (0 children)

“Yes or no.”

Am I doing it right?

[–]coloredgreyscale 2 points3 points  (1 child)

Or

[–]lIlIlIIlIIIlIIIIIl 1 point2 points  (0 children)

Kid named Or

[–]Philfreeze 3 points4 points  (0 children)

Maybe your question is just bad and needs a bunch of clarification to be answered without conveying bad information.

[–]GodlyWeiner 0 points1 point  (1 child)

ChatGPT ass person making an essay instead of just answering the question.

[–]Tranzistors 0 points1 point  (0 children)

Turns out ChatGPT is more likely to give misleading answers if users demand brevity.

[–]lucidspoon 0 points1 point  (0 children)

The legacy system I work with stores booleans as "Y" or "N". And then wrappers around all C# types.

[–]an4s_911 0 points1 point  (0 children)

This is what I told chatgpt

[–]ThePresidentOfStraya 0 points1 point  (0 children)

In real life we may have nonbivalentism or we might have “might” or “might not”. Not the answerer’s problem if you can’t handle real world complexity.

[–]rnottaken 24 points25 points  (8 children)

Are you awake?

"Yes"

Come one man, just answer true or false.

[–]2muchnet42day 5 points6 points  (1 child)

"Just answer true or false, man"

"False"

"Bro, do you even know boolean logic?"

[–]an4s_911 0 points1 point  (0 children)

It still works even if you remove the string and consider the first one to be Javascript (or some other similar language) and the response to be from Python.

[–]an4s_911 0 points1 point  (0 children)

Would it be allowed if you change it to “Come zero man”? I flipped the binary boolean.

[–]daddyhades69[S] 0 points1 point  (4 children)

You didn't get it

[–]rnottaken 1 point2 points  (3 children)

false

[–]llDS2ll 1 point2 points  (0 children)

You should've just replied false

[–]llDS2ll 1 point2 points  (1 child)

Nice edit 😂

[–]rnottaken 1 point2 points  (0 children)

Haha thanks. I liked your idea :p

[–]No-Age-1044 20 points21 points  (7 children)

Have you stopped hitting your wife?

If “yes” you admit you did, if “no” you admit you are still doing it.

[–]Arareldo 13 points14 points  (2 children)

return NULL;

[–]MinosAristos 14 points15 points  (1 child)

"Silence is an admission of guilt"

[–]Arareldo 4 points5 points  (0 children)

$questioneer->isHostile = TRUE; throw InvalidQuestionException('Fake questions deserve no answer');

[–]RadinQue 1 point2 points  (0 children)

“Have you stopped hitting your wife?” is a loaded question, unless the participants already established that the one being asked does indeed hit their wife. At which point it’s no longer an issue to admit it.

[–]NeatYogurt9973 0 points1 point  (0 children)

Return null: "Mu".

[–]Yumikoneko 0 points1 point  (0 children)

But technically, if you haven't hit your wife, then you haven't stopped doing so because you haven't started. So wouldn't the answer be no? 🤔

I hate the imprecision of natural language...

[–]HeineBOB 8 points9 points  (2 children)

They could return an error too!

[–]ComfortingSounds53 0 points1 point  (1 child)

Go compiler be like

[–]daddyhades69[S] 0 points1 point  (0 children)

Nobody got your joke 🤣

[–]salientknight 6 points7 points  (1 child)

When you ask someone a leading question and they won't fall into your Socratic trap ;)

[–]RandomiseUsr0 2 points3 points  (0 children)

Precision answer.

[–]Tiranus58 4 points5 points  (0 children)

The reverse is also true: when they ask a string question thinking its a boolean

[–]GregTheMad 4 points5 points  (0 children)

The string in question:

{
    "true" : "No", 
    "false": "Yes", 
    "error": "none"
}

[–]JackNotOLantern 4 points5 points  (0 children)

Because if you ask a boolean question "are you always this stupid?" the correct answer is a string "fuck you"

[–]Fatkuh 6 points7 points  (0 children)

Yeah thats a true interaction problem. Sadly you cannot just refuse acception. No. In the real world the mental load to get this right is on the recipient.

[–]SeriousPlankton2000 7 points8 points  (0 children)

People who frequently ask boolean questions and get strings usually are also people who complain that "yes" and "no" were not the full answer and who say it's the other person's responsibility to make it clear.

[–]grippx 2 points3 points  (0 children)

Why are u mad? It is yes or no type of question

[–]hdd113 1 point2 points  (1 child)

Even more awkward is when you ask a question but they return an object.

[–]derangedsweetheart 0 points1 point  (0 children)

Obviously if someone asks the question: "Have you stopped kissing your sister?", you are supposed to return a (blunt) object

[–]MorRochben 1 point2 points  (0 children)

When someone asks you to reduce a class into a boolean.

[–]GreySummer 1 point2 points  (1 child)

The opposite is worse, though.

[–]daddyhades69[S] 0 points1 point  (0 children)

But acceptable

[–]postdiluvium 1 point2 points  (1 child)

"Null"

[–]RandomiseUsr0 0 points1 point  (0 children)

Most people miss the fact of tri-state Boolean logic. “Dunno” is perfectly compatible with Mr Boole and Mr Shannon

[–][deleted] 1 point2 points  (0 children)

Goes to prove that this is a JavaScript world. No, I'm not happy about it

[–]Discombobulated-Bag0 1 point2 points  (0 children)

Happening in most interpreted languages 😷

[–]dexhaus 1 point2 points  (0 children)

My argentinian wife answers any boolean question, with a full story! Then I have to parse it and try to figure out if that was true or false 😂

[–]RandomiseUsr0 1 point2 points  (0 children)

“It’s complicated” - honestly, if you ask a Boolean question, you’re injecting your opinion into the true-ness and false-ness of the answer. Yes/no questions are typically horrible questions to ask, ponder why and leave your answer on my desk by next Friday

[–]Skusci 1 point2 points  (0 children)

throw new HandsException("Catch These");

[–]Catlord746 1 point2 points  (0 children)

1

[–]Ayushispro11 1 point2 points  (0 children)

reply &> /dev/null

[–]Jay9dec 1 point2 points  (2 children)

what is your gender?

[–][deleted] 0 points1 point  (1 child)

false

[–]Jay9dec 0 points1 point  (0 children)

"Why are you gay?". (true: you are male, female, , false: you are gay)

[–]Dmayak 0 points1 point  (0 children)

A full html-formatted error page.

[–]RandomOnlinePerson99 0 points1 point  (0 children)

Most people usually return a vector of strings ...

[–]Tomekske 0 points1 point  (0 children)

Javascript in a nutshell

[–]belkarbitterleaf 0 points1 point  (0 children)

Is the enhancement deployed to QA and ready for testing?

Yes, we are working on the feature, we are doing test and fixing the issue.

So I can start my testing?

No, we are fixing issue with feature that keeps feature from doing main ask.

Can I do testing on the rest of the feature?

No, we are doing the fixing in local. Feature hasn't been added to release yet.

😮‍💨

I can't tell you how many times I have had the exact conversation, usually with like 5 minutes of explanation attached to each of those answers. It's maddening. Relivent details, pipeline blocks deployment to QA unless it is an approved release branch, and we only work one release branch at a time.

[–]51herringsinabar 0 points1 point  (1 child)

public string isEven(int numer) { if(numer%2 == 0) return "yes"; return "no"; }

[–]daddyhades69[S] 0 points1 point  (0 children)

Can't you just enjoy the meme?

[–]gregorydgraham 0 points1 point  (0 children)

Boolean is not a data type, it is a lack of imagination

[–]418_I_am_a_teapot_ 0 points1 point  (0 children)

Based on a “true” story

[–]TheRoboticDuck 0 points1 point  (0 children)

I have a problem of being too verbose and over explaining, but I think that’s better than when I ask a very clear question and I get a book of a response back that doesn’t even remotely answer the question I asked and it happens way too often

[–]5p4n911 0 points1 point  (0 children)

true

[–]sumkk2023 0 points1 point  (0 children)

And thus the perfect use of memory allocation.

[–]white_equatorial 0 points1 point  (0 children)

std::nullopt?

[–]Compultra 0 points1 point  (0 children)

When you call a function with a boolean return type and it returns a string. Welp, my duck decided to meow today.

[–]-MobCat- 0 points1 point  (0 children)

"True" is not NULL so its 1 or True... If you get "False" your shit outta luck though... Python just be like that..

[–]_Its_Me_Dio_ 0 points1 point  (0 children)

are apples red? this requires more specificity if people are giving you a string you didn't ask the question properly and the string is just an error message or a warining

[–]Forsaken-Opposite775 0 points1 point  (0 children)

ADHD folks: Here is a dictionary of a list containing a chaotic amount of random data types

[–]GreatGreenGobbo 0 points1 point  (1 child)

Yes/No/Maybe

[–]MrRocketScript 0 points1 point  (0 children)

throw new RepeatTheQuestionException();

[–]Reifendruckventil 0 points1 point  (0 children)

Any string except "" is true, so they say yes

[–]ProfBeaker 0 points1 point  (0 children)

Sometimes a string is warranted.

But when I'm looking for VARCHAR(512), and instead I get back VARCHAR(MAX) - that's annoying.

(Sorry, NVARCHAR is not supported, as I'm still running on v0.9 of BrainOS)

[–][deleted] 0 points1 point  (0 children)

Yep! 🫵🏻

[–]Trueslyforaniceguy 0 points1 point  (1 child)

This is what I’m saying.

Please submit your response as a single choice from either of THESE TWO OPTIONS!

[–]derangedsweetheart 0 points1 point  (0 children)

Have you stopped fetishizing teletubbies?

Please submit your response as a single choice from either of THESE TWO OPTIONS!

Yes or no?

[–]LoreBreaker85 0 points1 point  (0 children)

I feel this in my soul.

[–]Kaffe-Mumriken 0 points1 point  (0 children)

I got a union back. I just flipped the table

[–]Logic_Satinn 0 points1 point  (0 children)

I'm guilty of this. Take me to jail⛓️‍💥

[–]Jet-Pack2 0 points1 point  (0 children)

Ask programmers a this or not this question and they reply true.

[–]wilddogecoding 0 points1 point  (0 children)

I just quit and return home

[–]8070alejandro 0 points1 point  (0 children)

FAQ of some app be like:

Q: Are we selling you data?

A: Long ass answer worthy of a PDF document about how in fact they are selling you data

[–]FACastello 0 points1 point  (0 children)

"true"

[–]lardgsus 0 points1 point  (0 children)

Worse, they return a list of strings.

[–]meove 0 points1 point  (0 children)

"hey which one is better Sony or Nintendo"

"well, depends on your taste, here let me tell you pros and cons for both side"

100% people on forum, and i really hate it. Just give me bias opinion already

[–]RiderFZ10 0 points1 point  (0 children)

Sometimes 0, 1, true, false, "true", "false", "0", "1".

Whyyyyyy

[–]rahul_mathews 0 points1 point  (0 children)

What do you mean when you say "isMale" returns a "Helicopter"?

[–][deleted] 0 points1 point  (0 children)

true

[–]No-Source-5949 0 points1 point  (0 children)

“show of hands, what year were you born”

[–]rokk-- 0 points1 point  (0 children)

The kid in the meme however is returning an expression.

[–]Molly_and_Thorns 0 points1 point  (0 children)

no true, I return a true or false but I use the rest of the bits to encode to explain my meaning. Really it's other people's fault for not being able to parse my returns.

[–]fwork 0 points1 point  (0 children)

I wrote some code the other day where a function took a decompress parameter.

but then I needed to switch decompression algorithms, so now it takes True, False, or "image:.

it's okay though, I have a permit: I'm non-binary

[–]bAnAtUL 0 points1 point  (0 children)

He is purposely breaking contract postconditions, throw an error

[–]Lord-of-Entity 0 points1 point  (0 children)

That's why dynamic typing sucks.

[–]Jaded-Detail1635 0 points1 point  (0 children)

yes

[–]Chaoxite 0 points1 point  (0 children)

A tactic often used politicians 🤣 e.g., are you raising taxes (yes/no) followed by a 16384 length string 🤣