Skip to content

Conversation

@Dblm0
Copy link
Contributor

@Dblm0 Dblm0 commented Aug 29, 2022

Thanks for great repo!

I've noticed a small mistake in template-method example.

On the other hand, maybe we can provide a more distinguishable example for this pattern like in https://refactoring.guru/design-patterns/template-method/go/example

@fadeevab
Copy link
Owner

@Dblm0 Thanks for the PR. You're kinda right, but when I looked at that Go example, I remember I thought that it was kinda overcomplicated and a bit confusing. I like that this synthetic example is pretty short.

@fadeevab fadeevab merged commit a0daff7 into fadeevab:main Aug 29, 2022
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.

2 participants