Comment on When you ask someone a boolean question....... and they return a string

<- View Parent
Badabinski@kbin.earth ⁨6⁩ ⁨days⁩ ago

In programming languages, data comes in different forms. If you want to get a yes/no answer to something, there's a way to represent that: a true/false boolean. If you want to get a street address, that's a string, because it's just a big ol blob of undifferentiated text to the computer.

The joke is about how you ask someone a yes or no question, but they respond with something which is not either of those options.

source
Sort:hotnewtop