Visitor Pattern
Visitor pattern is a better design when we have extendable visitor list but operate on pretty stable element list, we can easily extend the visitor and give specific implementation methods without touching exisitng code.
There are several roles in visitor
原创
2021-11-14 15:04:08 ·
196 阅读 ·
0 评论