I have a task to build a program that calculates taxes from the person. For example, some taxes are calculated the same, so can I relate it to Strategy pattern?
I think I can create a lot of classes of taxes, but I don't think it's effective. Maybe, you can advise another pattern.
Aucun commentaire:
Enregistrer un commentaire