Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stateless visitors #27

Merged
merged 1 commit into from Sep 3, 2019
Merged

Stateless visitors #27

merged 1 commit into from Sep 3, 2019

Conversation

mgrzeszczak
Copy link
Contributor

Made visitors stateless and provided a more generic implementation of the visitor pattern.

I think it's much better to show a stateless implementation as an example for this pattern, which is more reusable, thread-safe and the reader can have a better understanding how to use it.

@dbacinski dbacinski merged commit 09d0f1f into dbacinski:master Sep 3, 2019
@dbacinski
Copy link
Owner

Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants