Video that explains dependency injection in a visual and easy-to-understand manner

    • bradboimler@kbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I learned dependency injection as I went along in my engineering career and I’ve become a huge fan of it. And yeah, I strongly prefer to do it “manually” without relying on a framework.

      I push hard for it in code reviews

      • magic_lobster_party@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I became a fan of it at my last job. Now I’m trying to push it at in my new workplace with mixed results. We’re having so many problems right now because we haven’t used dependency injection. Everything is so tightly coupled and impossible to test. Same boilerplate code everywhere because we’re constructing the same thing the same way over and over again.