EN | DE

Stage 4.8: Enums

Enums allow you to create a new type that can have a value of several tagged elements using the enum keyword.

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

Tags: #enums

Further information:

Share on Facebook Share on Twitter Share on Reddit Save on Pocket Share on LinkedIn Share via email