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

COLORS interface is unnecessarily difficult to work with. #6

Open
GeorgeMuscat opened this issue Mar 24, 2024 · 0 comments · May be fixed by #5
Open

COLORS interface is unnecessarily difficult to work with. #6

GeorgeMuscat opened this issue Mar 24, 2024 · 0 comments · May be fixed by #5

Comments

@GeorgeMuscat
Copy link

The COLORS interface is difficult to work with and many QoL improvements could be made.

Have the 16 colors represented by a static array of structs is code that is not self describing and requires documentation consultation to understand which color is which.

Additionally, the static array can only be indexed using a usize, which is an unnecessary constraint and helper interfaces can be implemented to improve the user experience.

@GeorgeMuscat GeorgeMuscat linked a pull request Mar 25, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant