Unpack the bag
6 Sep 2008
There’s a common pattern where an object is constructed with a Context object that carries all the dependencies the new object might need. It’s often used, for example, with classes that package up domain behaviour based on lower-level services, something like this:
public class PriceReconciler {
private final Context context;
public PriceReconciler(Context context) {
[…]
