Jump to content

Talk:Hierarchical visitor pattern

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Untitled

[edit]

I am ignorant of software development, but I have this comment on grammar: I would guess that "hierarchical visitor pattern" means either

  • A visitor pattern that is hierarchical

or

  • A pattern that involves a "hierarchical visitor".

I don't know which it is. But if the latter, then there should be a hyphen, thus: "hierarchical-visitor pattern". If the former, then there should be no hyphen. -- Mike Hardy

See the definition in the article about my understanding. I think the grammar is incorrect. But I think it happens frequently in computer science, so it may be okay. -- Taku 22:14 Jan 3, 2003 (UTC)


As I understand it, a "normal" visitor pattern is already hierarchical and works on structures like trees. So what is special about hierarchical visitor patterns?

--zeno 11:36, 21 Oct 2003 (UTC)

The article originally contained a load of material copied from somewhere else. That has been removed, and now the article is vacuous. Leibniz 19:11, 5 September 2005 (UTC)[reply]
OK. How do we propose this page for deletion, then? (Somebody who knows wikipedia better than me, please help.) —Preceding unsigned comment added by 64.81.170.62 (talk) 23:20, 14 January 2008 (UTC)[reply]
Yeah, the page is useless in its current form. The linked WikiWikiWeb talks about stateful tree traversal (such as keeping track of the current depth) and skipping subtrees when traversing. There's no need for a separate pattern, with a confusing name, for those things (they should be considered part of the "standard" visitor pattern). I will redirect this page to visitor pattern. --Cic (talk) 21:10, 30 June 2015 (UTC)[reply]