Y
Hacker News
new
|
ask
|
show
|
jobs
by
goodoldneon
1616 days ago
Just don't use numeric enums with implicit values. If you add a member anywhere but the end of the enum, it'll change existing members' values