• Supercrunchy@programming.dev
    link
    fedilink
    arrow-up
    14
    ·
    10 hours ago

    And dependency injection!

    Every class needs to use DI for calling other classes, even though we’ll have anyway just a single implementation for all of them, and we won’t be using this flexibility at all (not even for tests where it might be useful for mocking dependencies).