Incase it doesn’t show up:

  • magic_lobster_party@fedia.io
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    Ask Bjarne to add interfaces enough many times until he gives in.

    On a more serious note, I’m not exactly sure what the best C++ practice is. I guess you just have to live with abstract classes if you really want interfaces.

      • magic_lobster_party@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        The only problem is to ensure the entire team agrees to only use it like an interface and nothing else. But I guess that’s the only proper way to do it in C++, for now.

        • SpaceNoodle@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          That’s not really the job of the language, though. If they can’t read the design docs and source annotations, they don’t really have any business touching anything.

        • affiliate@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          this seems like the only proper way to do anything in C++. it’s a language where there’s 5 ways to do 1 thing and 1 way to do 5 things.