• ray@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    106
    ·
    16 hours ago

    It’s a class that’s allowed to access another class’s private members. Obviously Linus doesn’t have any, because he codes in C.

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      11 hours ago

      Private members aren’t actively blocked from external access; they’re passively marked “Access prohibited”.

      That means that rather than being unable to find the members of a class, C programmers simply can’t pick up on the signals telling them that they’re not wanted.

      (Fellow C programmers: I’m joking. :D)