Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Represent enum in the config file also as an enum in the code
Benefits: - This improves type safety and consistency (no more comparisons against string literals and case conversions). - This allows enums to be used in a switch and let the compiler point out if a value is missing.
- Loading branch information
Showing
19 changed files
with
1,057 additions
and
1,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.