• Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    I’ve been senior for quite some time now, I know when to use what (most of the time) and yeah, inheritance has its place, though I don’t use it often because most of the time it simply isn’t the right thing to do.

    • jvisick@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      In my experience, inheritance is really handy in the right situation. But far more often, inheritance is just a quick way to code yourself into a corner or just a waste of mental energy in the wrong place.