-4
$\begingroup$

I know most languages use bool or boolean but I do not really like that name seeing as it was named after a person and a highly doubt that person invented the idea of yes or no questions altogether.

Are there any languages that use names for true/false values besides bool? What names do they use?

$\endgroup$
5
  • 3
    $\begingroup$ Well, George Boole did come up with boolean logic, so in a way he did invent (computational) yes or no questions... $\endgroup$ Commented Mar 13, 2024 at 22:47
  • $\begingroup$ Binary? Logical Atom? Affirmation Atom? $\endgroup$ Commented Mar 13, 2024 at 22:49
  • 4
    $\begingroup$ Are you designing a language for your own enjoyment, or to meet the needs of a developer constituency? If the former, pick whatever makes you happy personally. If the latter, ask them. $\endgroup$ Commented Mar 15, 2024 at 4:15
  • $\begingroup$ Often, users will want a domain-specific yes/no value, so not yes/no at all but like overwrite/insert or with serif/without serif... $\endgroup$ Commented Mar 16, 2024 at 7:35
  • 1
    $\begingroup$ I'm not sure how this is opinion-based: This question is likely to be answered with opinions rather than facts and citations.. You can very clearly answer this question by finding a language that doesn't use bool(ean), saying what it uses, and providing a source. $\endgroup$ Commented Feb 18 at 17:59

3 Answers 3

-1
$\begingroup$
  1. Binary value

  2. Two-state value

  3. Truth value

  4. Logical value

  5. Propositional value

  6. Yes/no value

  7. True/false value

$\endgroup$
1
  • 1
    $\begingroup$ Truth atom is the best $\endgroup$ Commented Mar 13, 2024 at 22:49
2
$\begingroup$

Not mentioned yet is bit, as it is in SQL.

I don't see a problem with Boolean or bool, though. It's a widely-known, highly-specific, and vocally-succinct word for one of the most common data types.

I don't think any of the alternatives on display so far are better.

$\endgroup$
-2
$\begingroup$
  1. Binary value
  2. Truth atom
  3. Biaxiological atom
  4. Binary Axiological Atom
  5. Biaxiological Value
  6. Bilogical value
  7. Logical atom
$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.