Talk:A froggy visitor
(New page: I began this page to explore an application of the Visitor pattern to the Frogs design. Coming soon, a critique of this design (some comments from [[User:RobertLechte|Rober...) |
(adding my thoughts about the visitor) |
||
Line 1: | Line 1: | ||
I began this page to explore an application of the [[Visitor|Visitor pattern]] to the [[Frogs design]]. Coming soon, a critique of this design (some comments from [[User:RobertLechte|Robert]] would make for an excellent addition). --[[User:Tureiti Keith|TK]] 06:47, 2 August 2008 (UTC) | I began this page to explore an application of the [[Visitor|Visitor pattern]] to the [[Frogs design]]. Coming soon, a critique of this design (some comments from [[User:RobertLechte|Robert]] would make for an excellent addition). --[[User:Tureiti Keith|TK]] 06:47, 2 August 2008 (UTC) | ||
+ | |||
+ | Just a thought. The *[[Visitor]] pattern is great especially if you decide to export the frogs into some other format you can add another type of exporter inheriting from the exporter. It also falls under * [[Open closed principle]] I was just thinking does this kinda go against * [[You ain't gonna need it]] where in this case the only advantage of this design is extensibility. There may be other advantages to the visitor that I havent seen so any other advantages please add below. Any thoughts. I feel that in this case the OCP overrides YAGNI. [[User: Paul Williams]] |
Revision as of 20:40, 23 July 2009
I began this page to explore an application of the Visitor pattern to the Frogs design. Coming soon, a critique of this design (some comments from Robert would make for an excellent addition). --TK 06:47, 2 August 2008 (UTC)
Just a thought. The *Visitor pattern is great especially if you decide to export the frogs into some other format you can add another type of exporter inheriting from the exporter. It also falls under * Open closed principle I was just thinking does this kinda go against * You ain't gonna need it where in this case the only advantage of this design is extensibility. There may be other advantages to the visitor that I havent seen so any other advantages please add below. Any thoughts. I feel that in this case the OCP overrides YAGNI. User: Paul Williams