Decorator design pattern by premaseem · Pull Request #26 · premaseem/DesignPatternsJava9
-
Notifications
You must be signed in to change notification settings - Fork 166
Conversation
…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
changed the base branch from
master
to
develop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters