Skip to content

Strategy Design Pattern for Parsing the Shapes - #474

Closed
bharatwaaj wants to merge 1 commit into
HtmlUnit:masterfrom
bharatwaaj:asdc-assignment-set-2-strategy-design-pattern
Closed

Strategy Design Pattern for Parsing the Shapes#474
bharatwaaj wants to merge 1 commit into
HtmlUnit:masterfrom
bharatwaaj:asdc-assignment-set-2-strategy-design-pattern

Conversation

@bharatwaaj

Copy link
Copy Markdown
Contributor

Reason for change:

Multiple operation functions to parse depending on the object.

Approach:

Created a Context and using Strategy design pattern to create three types of classes for every case implemented to fetch the desired strategy by the user.

@rbri

rbri commented Jul 18, 2022

Copy link
Copy Markdown
Member

after some more thinking i decide to stay with the current impl - sorry

@rbri rbri closed this Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants