Only valid in PHP?

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 hours ago

      Sometimes, (amongst friends who accept how thoroughly weird I am) I will actually say “XOR” when I want to make my intentions clear. It means that when they give the silly OR answer, I can jokingly chastise them for poor listening. The downside is that they relish the opportunity to give OR answers when I am not sufficiently specific in my question. I reap what I sow ¯_(ツ)_/¯

  • Sunsofold@lemmings.world
    link
    fedilink
    arrow-up
    4
    ·
    4 hours ago

    TypeError:
    Type Boolean not used by Reality, please inplort module ‘ImaginaryThings’ to use type Boolean.
    Warning: Use of module ‘ImaginaryThings’ may produce inconsistent results.

    • bastion@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      I was just about to say that I’d be raising an error, not returning a string.

      I see you understand the code well.

  • fleck@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    6 hours ago

    At work, I have a very knowledgeable colleague who is quite the Linux nerd. I have been moved into their department and I feel like they never had the chance to share all of their accumulated knowledge with someone, so they kinda dump it onto me and every little question has the chance to become a lecture. I am very thankful for it though, because I get learn a ton but sometimes you just wanna get a bool, without learning kernel internals that are absolutely not related to the question

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      I feel this. I’ve found that a good response in those circumstances is to say “sorry, can we put a pin in this? I feel like I don’t have the capacity to properly process what you’re telling me right now, so I’d rather we resume this conversation at a later point. Thanks for helping me figure out [bool question] though.”

      It’s a useful response if one genuinely is interested to learn, but not at that moment.

  • onslaught545@lemmy.zip
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    7 hours ago

    My relationship is the opposite. My wife asks me a boolean question but expects a string response.

  • Robyn@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    44
    ·
    10 hours ago

    Similarly it also grinds my gears when I ask an enum question but they return a bool. I gave multiple options and “yes” was not one of them.

  • HalfSalesman@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    9 hours ago

    People want a yes or no so they can generate their own hallucinated string based on it. The returned string is just trying to get ahead of that.

    • Windex007@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      8 hours ago

      Sometimes.

      In those cases, “there isn’t a yes/no answer to your question because…”

      I ask my jrs simple yes/no questions all the time.

      Did you open a PR? Does it pass the CI pipeline? Did you write a test for scenario X?

      I’m here to help you, but my time is unfortunately limited. If it takes half of our available time just to drag out of you where you’re at we’re all worse off for it.

  • peoplebeproblems@midwest.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 hours ago

    Is this why a bunch of us senior engineers have been forced into a product owner role?

    Because we can somehow deal with string parsing better? Jesus fuck we’re doomed