Everything About ___
Live briefing

Everything about Visitor pattern

Software design pattern

A visitor pattern is a software design pattern that separates the algorithm from the object structure. Because of this separation, new operations can be added to existing object structures without modifying the structures. It is one way to follow the open/closed principle in object-oriented programming and software engineering. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Visitor patternA 5-minute orientation
  2. Skim a recent paper: Exploring spatiotemporal dynamics of flower visitor association pattern on two Avicennia mangroves: a network approachInfluential work since 2022
  3. Pick up a classic book: Imitation of ChristThe most-reprinted book on the subject
  4. Read the landmark paper: A Type-theoretic Reconstruction of the Visitor PatternCited 17 times
  5. Go sideways: Factory method patternA closely related topic
  6. Go sideways: Decorator patternA closely related topic

📖 Definitions

Noun A behavioural design pattern that separates an algorithm from an object structure on which it operates.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics