Skip to main content
5 events
when toggle format what by license comment
Feb 26, 2012 at 20:11 comment added dreza ah fair point. I'll update the question as the term structure was more to make an example of what I was wanting to achieve
Feb 26, 2012 at 20:02 comment added pdr Well, if there's no depth to the structure, and it's not going to change frequently, the Visitor might be overkill. A Strategy may be a better option. It is a rare case where the Visitor can't be handled equally well by a more simple pattern. I think I was thrown a little by your first example and the word "structure" which is used in a different context here.
Feb 26, 2012 at 19:50 comment added dreza No there isn't any more depth. I've never used this pattern before, well not consciously anyway as far as I know so will have to read up more. cheers
Feb 26, 2012 at 13:41 history edited pdr CC BY-SA 3.0
added 1223 characters in body
Feb 26, 2012 at 13:26 history answered pdr CC BY-SA 3.0