• occams_chainsaw
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    I write modular code that accepts interfaces so I can test the components I want to test.

    basically dependency injection

    • Ethan
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Maybe I’m misunderstanding what “dependency injection” means. When I hear “dependency injection” I think of a DI framework such as Unity, so I thought “using DI” meant using one of those frameworks.