You shouldn’t really be doing this anyway – you should have composed them, possibly via IOC.
Anybody can explain some more his idea?
You shouldn’t really be doing this anyway – you should have composed them, possibly via IOC.
Anybody can explain some more his idea?
he allows a concrete implementation of an interface to change the design of the OrderProcessor class
Original Question:
Anybody knows what does it mean? I cannot see a design change in OrderProcessor...
Update:
It's about "concrete implementation of the IOrderShipper interface"
The remark @ploeh makes later in the article is that you can solve the problem without need to change high level design (OrderProcessor
) to fix low level issue (OrderShipper
)