• tatterdemalion@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Some legacy Python code that already used inheritance. I had to extend it, and it was pretty infeasible to refactor the whole thing to not use inheritance. Not sure if I technically regretted that decision, but it was definitely painful, since Python inheritance makes it really hard to follow program control flow.