• tatterdemalion
    link
    fedilink
    arrow-up
    1
    ·
    10 days ago

    It was actually typed. Python had type annotations at the time.

    I only wrote C++ very early in my career so I don’t remember much, but I’m sure I at least tried some inheritance in toy games I would write. All of that code was trash though by my standards today.

      • tatterdemalion
        link
        fedilink
        arrow-up
        1
        ·
        8 days ago

        I have used OOP design patterns many times, but that doesn’t mean I use inheritance a lot. I almost always reach for interfaces instead.

        • Valmond@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          Well then I understand why inheritance isn’t your thing, I yet have to see an interface in need of inheritance.