---
title: "Discussion on \"Visitor Pattern\" | Hashnode"
description: "Discussion on \"Visitor Pattern\". As described in the original GoF book, Visitor Pattern lets you define a new operation without changing the classes of the elements on which it operates. Visitor Pattern is using an OOP technique called Double Dispatch.\nProblem\nLet's say you want to ..."
url: "https://hashnode.com/posts/visitor-pattern/6471c7368ecd39c930baaa06"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Visitor Pattern](https://dsimunovic.hashnode.dev/visitor-pattern?utm_source=hashnode&utm_medium=feed)

As described in the original GoF book, Visitor Pattern lets you define a new operation without changing the classes of the elements on which it operates. Visitor Pattern is using an OOP technique called Double Dispatch. Problem Let's say you want to ...

May 27, 2023 · 5 min read · dsimunovic.hashnode.dev  
Updated Jan 29, 2025  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#visitor-pattern](https://hashnode.com/tag/visitor-pattern)
-   [#oop](https://hashnode.com/tag/oop)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)

## Written by

[Danko Simunovic](https://hashnode.com/@dsimunovic)

@dsimunovic

  
[View profile](https://hashnode.com/@dsimunovic)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
