If within your class you make intensive use of the conditional if, else, swicth, case, that means that your class has assigned many behaviors and / or responsibilities, which is usually an indicator of the need to apply the pattern Strategy (strategy) , to be able to encapsulate these behaviors and delegate them to another class or object.
-
Notifications
You must be signed in to change notification settings - Fork 0
speedymonster/design-pattern-strategy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published