dependency injection

dependency injection

/dɪˈpendənsi ɪnˌdʒekʃən/

💻 Software Development

Supplying dependencies to an object rather than creating them internally

Dependency injection makes our code more testable and modular.

Origin: Modern English compound; dependency from Latin dependere (to hang from) + injection from Latin inicere (to throw in)