https://kotlinlang.org logo
#language-proposals
Title
# language-proposals
l

louiscad

04/21/2017, 2:41 PM
Objectively, enums are more heavy than primitives since they are objects, with their own classes, while int don't need any allocation. Wrapping all int things with enums is not a solution, and it may not be that concise since you need to write the code for all the things you would want to use as enums