2 ms·
Never mind. The singleton pattern, I can see why it should be used judiciously - to my mind none of the arguments I've read are completely compelling. However,
by chris_wot 14y ago
Never mind. The singleton pattern, I can see why it should be used judiciously - to my mind none of the arguments I've read are completely compelling.
However, the template method pattern I do understand now. Far better to define an interface, then inject an instance object that implements the interface and work on that.