36

SOME GUY IN MY TEAM, PROBABLY: I don't want to get political, but what the actual FUCK is boolean?

Comments
  • 15
    Yeah that should have been coded more politely:

    autopause: "how about, dunno, maybe later or so?"
  • 11
    "yes"

    "no"

    "on-condition"

    "timed"

    "..."

    depends on the implementation and needs. Boolean might not be an option if it's an enum that partially resembles a boolean.
  • 19
    @netikras that was a nice try.

    BUT.
  • 7
    He’s a visionary. One day boolean will be yes/no/maybe/idontknow and true/false will be a relic of the past
    We won’t be talking about values being truthy or falsy anymore. They’ll be yessy or noee or mayby
  • 0
    Keep looking. You will be amazed when you find that well-hiodden todo about a small DSL for defining auto pause conditions - the shortcut syntax will shock you...
  • 1
    @IHateForALiving well.. I tried :)
  • 9
    Boolean pronouns…
  • 6
    There is "yesn't", "maybe" and "a cuppa timez" as well.
    Beetleans ftw.
  • 6
    @badcopnodonuts

    WHAT DO YOU MEAN THERE ARE ONLY TWO BOOLEAN VALUES? BOOOOO, THAT'S NOT PROGRESSIVE! /s
  • 0
    Ah, but sometimes it's easier/faster/clearer to distinguish between 'yes', 'no' and '[no defined choice made yet]' with a string, rather than with true/false/NULL ? If $wantsUpdates !== 'no' {sendTheirUpdates()}
  • 2
    @black-kite the fact you wrote “idontknow” and didn’t continue with the Malcom in the middle opening triggers me af. I am offended, sir.
  • 2
    @piratefox I get the frustration
Add Comment