Kamaropoulos / COVID19Py

A tiny Python package for easy access to up-to-date Coronavirus (COVID-19, SARS-CoV-2) cases data.
https://pypi.org/project/COVID19Py/
GNU General Public License v3.0
84 stars 57 forks source link

Structural Design Pattern #113

Closed laibaz16 closed 3 years ago

laibaz16 commented 3 years ago

Hi,

I hope you are doing well.

I reviewed your code and I think applying a bridge pattern might help with the readability and extension of the project. I have made some changes in the code applying the bridge pattern. I put the location-based methods in the abstract class and case update methods in the interface. I hope this helps

Thank you.