• erp@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Inheritance starts to suck > 1 level deep. Multiple inheritance starts to suck at the point people discuss adding it to a language, or a few femtoseconds after the big bang, whichever comes first.

      • ThyTTY@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        It would say Prototype­Filter­Stub­Facade­Bridge­Decorator­Task­Request­Map­Event­Exporter­Info­Model­Request­Iterator

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        I’m just not sure what the middle guy would be saying

        “I hate inheritance! I hate inheritance! I hate inheritance! I hate inheritance!”

        But well, inheritance goes brrrrrr.

        • erp@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          We all get disappointed when we don’t inherit anything useful…just a garage full of confusion