Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
revskill
· 3y ago · 0 comments
Enum is limited for integer value.
Comments
[–]
cysky
3y ago
You can define string enum type with a macro.
https://github.com/crystal-lang/crystal/issues/10281#issueco...
[–]
xigoi
3y ago
The internal representation doesn't really matter, does it?