Skip to content

Conversation

@dengrf96
Copy link

What:
Applied decorator design pattern on to the Location class and its child

Why:
Location, TimelinedLocation, and NYTLocation are having a hierarchical order of inheritance and causing the code to not to very readable and inconsistent

How:
Removed TimelinedLocation class and added JHULocation. Modified Location class to make it compatible with JHULocation and NYTLocation

@dengrf96 dengrf96 changed the title Apply Structural Design Pattern Add Structural Design Pattern Aug 15, 2021
@Kilo59 Kilo59 closed this Aug 21, 2021
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