AaronWard / covidify

Covidify - corona virus report and dataset generator for python 📈 [no longer being updated]
MIT License
446 stars 113 forks source link

behavioural design pattern in cli.py and data_visualization.py #113

Open smanveer opened 3 years ago

smanveer commented 3 years ago

chain of handlers in cli.py the handler interface declares a method for building a chain of handlers.it also declares a method for executing a request interface compo_help is method show help() the base class for simple components

In data_visualization.py iterator design pattern is used that gives the benefits of single responsibility principle. It also makes the interface really simple