Skip to content

Creational pattern - applied Prototype Design Pattern (app/location/__init__.py/)#1

Open
KevinSuh6433 wants to merge 3 commits intomasterfrom
creational
Open

Creational pattern - applied Prototype Design Pattern (app/location/__init__.py/)#1
KevinSuh6433 wants to merge 3 commits intomasterfrom
creational

Conversation

@KevinSuh6433
Copy link
Owner

The 3 files in the folder 'app/location' had repetitions in the code and I've applied the Prototype Design Pattern where now there's a prototype template. COVID-19 data can be very large and time-consuming, so to save time and instead of creating an instance of a class, it 'clones'/'copies' the original instance for the timelinedLocation, csbsLocation, and nycLocation.

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.

1 participant