OOP is not that bad - eviltoast
  • GissaMittJobb@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    8 days ago

    Now B and C cannot be replaced for the purposes of testing the component in isolation, though. The hardcoded dependency just increased the testing complexity by a factor of B * C.

    • Kache@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      8 days ago

      That’s changing the goal posts to “not static”