Is there a way to implement visitor design pattern without cyclic dependency? What I mean is that the visitor need an object to visit. and the visited object needs a visitor to accept. In the end both depend on each other.
Is there a way to implement visitor design pattern without cyclic dependency? What I
Share
Found it again! Check out the Acyclic Visitor:
Quote: