mardi 20 décembre 2022

Is there a combination of state and template design patterns?

I was wondering, if there is a way to combine state and template design patterns with each other?

So that you are able to change the possible states by property. For example a testing algorithm with multiple test states and different characteristics of them based on the guidelines of each country.

Does a pattern exists for that purpose? Does that make sense in any way? Is it easy to combine them?

Aucun commentaire:

Enregistrer un commentaire