Skip to content

Unstructured format of the script #5

Description

@shashankjo

print("Starting search for Covid vaccine slots!")

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 :

  1. Easier to write specs (unit test cases).
  2. Easier to publish the Class file as a library that could be directly imported into other projects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions