Unstructured format of the script
shashankjo opened this issue · 0 comments
shashankjo commented
CoWin-Vaccine-Notifier/script.py
Line 19 in db2bfc1
The script does it's job but code is not maintainable. The script could be refactored to follow an OOP approach and could be written as a Class.
Benefits of structuring the script as a Class :
- Easier to write specs (unit test cases).
- Easier to publish the Class file as a library that could be directly imported into other projects.