Skip to content

Refactor Code: Convert States to Enum #44

@arkaprovob

Description

@arkaprovob

Description:
Consider refactoring the code to convert the various states into an Enum for better maintainability and consistency. This change can enhance code readability and ensure uniform handling of states. Apply the same logic wherever applicable in our codebase.

Benefits:

  • Improved code maintainability.
  • Enhanced code readability and consistency.

Implementation:

  1. Convert the various states into an Enum.
  2. Apply this Enum-based approach wherever applicable in the codebase.

Reference:

  1. GitHub Discussion
  2. GitHub Discussion

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions