Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor literals into constants #122

Open
poi-son-ivy opened this issue Mar 7, 2024 · 0 comments
Open

Refactor literals into constants #122

poi-son-ivy opened this issue Mar 7, 2024 · 0 comments

Comments

@poi-son-ivy
Copy link
Contributor

Problem

We're using some literals in certain sections of the code, it can be confusing or a bit mystifying to not understand what their purpose is and also there's a chance for error in entering values manually rather than referring to predefined constants.

Solution

Create/add literals to a constants file and import it.

Alternatives

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant