I think it's worth mentioning that there is also the option to use const enum which will only leave the raw literals in the compiled code.
But since they come with their own pitfalls, it's also not a solution for everybody.
I guess that the amount of choices is not realy helping in this situation and might be one of the reasons why people are not embracing them.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think it's worth mentioning that there is also the option to use
const enum
which will only leave the raw literals in the compiled code.But since they come with their own pitfalls, it's also not a solution for everybody.
I guess that the amount of choices is not realy helping in this situation and might be one of the reasons why people are not embracing them.