This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Create UNSET enum value for the ControlPanelColor enum #25
Labels
learning goal
Something to learn about and memorize
Creating an enum value named UNSET in the ControlPanelColor enum would more elegantly handle the state of the match when there has not yet been a color selected by the FMS.
"Your code would be more readable if this was initialized to an enum specifically for 'unset'. I was looking for a constructor but didn't see one, and then saw that there is a null check later on."
Originally posted by @ArchdukeTim in #21 (comment)
The text was updated successfully, but these errors were encountered: