After implementing the pattern (yet to see if it is correct) I still don't see its utility.
I think it is much easier to call Cart methods directly in my example. After all, it is an interface and it is already decoupled. Superior layers in the abstraction won't know how this methods are implemented.
After implementing the pattern (yet to see if it is correct) I still don't see its utility.
I think it is much easier to call
Cart
methods directly in my example. After all, it is an interface and it is already decoupled. Superior layers in the abstraction won't know how this methods are implemented.Please, enlighten me 🙏