Crell / enum-comparison

A comparison of enumerations and similar features in different languages
80 stars 7 forks source link

What's the base type of enum and their values? #14

Closed bwoebi closed 3 years ago

bwoebi commented 4 years ago

Are enums for the purpose of semantics and reflection classes? And their singleton values then constants?

Crell commented 4 years ago

I think the answer is "Yes" and "Maybe". The current plan is to let Iliya try to implement it and see what happens, and then ask if we're OK with what happens.