Objectively, enums are more heavy than primitives ...
# language-proposals
l
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