Y
Hacker News
new
|
ask
|
show
|
jobs
by
DrJokepu
1615 days ago
If you have to change one of the underlying values, you only need to change it in one place. Of course, you could just use constants, but then you’ll just have a const enum with extra steps.