c# - Command Pattern vs. Visitor Pattern -


Is it generally acceptable for a visitor to modify the receiver's position, or should it be a command pattern instead?

. I have never suggested to anyone that only read-only operations are acceptable, only the limit is that the added work should only use the public interface of class excellence.


Comments