Let Each Carrier Decide

Let Each Carrier Decide: Factory Method: Let Each Carrier Decide.

Updated

  1. Factory Method: Let Each Carrier Decide (Journeyman): Pass 1's simple factory picked a class from a name; when shipping runs the same steps for every carrier and needs both a label and a pickup that must match, two simple factories with the same if chain drift apart, so each carrier's subclass decides what to create, with methods the shared steps call: the Factory Method pattern.