• Turun@feddit.de
    link
    fedilink
    arrow-up
    178
    ·
    edit-2
    4 months ago

    It’s a more easily readable drop in for A and B. And it being convention helps remove one unfamiliar element from a new topic.

    • ValiantDust@feddit.de
      link
      fedilink
      arrow-up
      79
      arrow-down
      1
      ·
      4 months ago

      Not only more readable than A and B but I would argue it’s also easier to remember who did what a few sentences or paragraphs earlier since Alice and Bob invoke slightly less generic mental images than A and B. For example one is a woman and the other one is a man, maybe even some person or character you know.

      And now that I’m thinking about it, the different gender also makes it easier to keep track of who does what because different pronouns are used (at least in English and many other languages).

      • CosmicTurtle@lemmy.world
        link
        fedilink
        English
        arrow-up
        58
        ·
        4 months ago

        If you ever go to r/relationship_advice and read posts where their friend T did S with P and then A (23 F) got into with G, then yeah…Alice and Bob suddenly makes a lot of sense.

      • Exocrinous@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 months ago

        Fun fact: the problem this is a solution to is known as the gay spock problem

        • Knedliky@discuss.tchncs.de
          link
          fedilink
          arrow-up
          10
          ·
          4 months ago

          I tried to look this up and while there were many many results, none of them seemed to really fit with OP’s question, so would you kindly tell us more about the gay Spock problem?

          • Exocrinous@lemm.ee
            link
            fedilink
            English
            arrow-up
            10
            ·
            4 months ago

            The gay spock problem is when you have two characters interacting who have the same pronouns, and it gets confusing. For example,

            He brushed his hair aside and spoke gently into his ear, “you are my one true love, my light and laughter, my reason to live.”

            Who’s the one speaking? Kirk or Spock?

            Likewise, if Alice and Barbara or Adam and Bob are your two example people, you’ll run into the gay spock problem.

            • Wirrvogel@feddit.de
              link
              fedilink
              English
              arrow-up
              5
              ·
              4 months ago

              Thank you for your explanation. Google gave me a lot of insight into a lot of things and none had to do with this problem. :D

        • ValiantDust@feddit.de
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 months ago

          I’m afraid I’m not following. The solution to what?

          Edit: Sorry, I misread your comment.

      • Alien Nathan Edward@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        this, but doubly so with Eve. You’ll notice that we often skip over Cindy and Dave and go right to Eve, so often that I don’t even know off the top of my head whether Charlie and Deandra are the conventional names for persons 3 and 4 in this construct. That’s because this construct is used a lot when talking about secure communications and the convention is that “evil” “eavesdropping” Eve is the person trying to destroy, intercept or alter the communication between Alice and Bob. Her role is built into her name.

  • oo1@kbin.social
    link
    fedilink
    arrow-up
    104
    arrow-down
    1
    ·
    4 months ago

    Someone tried “April & Bob” once, but MS excel converted it to date.

    • blindsight@beehaw.org
      link
      fedilink
      arrow-up
      20
      ·
      4 months ago

      Alt text:

      Changing the names would be easier, but if you’re not comfortable lying, try only making friends with people named Alice, Bob, Carol, etc.

      XKCD isn’t complete without the alt text.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    34
    ·
    4 months ago

    Because the names by themselves give you context about who’s transmitting to who, who’s trying to eavesdrop, and it’s become a convention.

    The convention isn’t necessary, but it makes material easier to understand because of the convention

  • PapstJL4U@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    ·
    4 months ago

    A,B,C,D - A talks to B, C listens to A,…

    Alice, Bob, Charlie,…

    For this reason the first persona in my software is always Alice Litte, alice@wonderland.uk. Easier than “asfgg afshd”

  • Codex@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    4 months ago

    I used to have a big list of gender ambiguous names I’d use for examples. So I’d use “Alex” and “Blake” or something like that. It also had some non-anglo names on it, just to spice things up.

    In comp sci papers there’s a few other common example people. “I” for intruder or imposter (Irene, Isaac). “M” often for malicious or middle-person (Mal). There’s a few more im forgetting now.

    • Zoop@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Thank you! I had no idea what this was talking about but was curious, so this is perfect. I appreciate it!