Skip to content
New issue

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

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

Already on GitHub? # to your account

Decorator design pattern #26

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Decorator design pattern #26

wants to merge 5 commits into from

Conversation

premaseem
Copy link
Owner

No description provided.

…eating class for each option.

Benefits
1. Lean code - as its not required to create class for each option
2. Price can be calculated dynamically
3. Performance improvement
4. Loose coupling.
5. Easy to update - price of can be updated at one place without touching other classes.
@premaseem premaseem changed the base branch from master to develop October 2, 2018 16:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant