I got fed up with how long-winded software pattern articles are, when often the base concepts are quite simple. In this highly-irregular micro-blog segment, I’ll give you a sweary TL;DR of some of the most common patterns out there.
An injection is the passing of a dependency (a service) to a dependent object (a client). The service is made part of the client’s state. Passing the service to the client, rather than allowing a client to build or find the service, is the fundamental requirement of the pattern.
Giving something its shit, instead of having that something make its own shit.