Y
Hacker News
new
|
ask
|
show
|
jobs
by
jimbokun
160 days ago
Yea but with a tiny bit more effort they could have ensured that an invalid value is never assigned to an enum, iterate over the values, ensure switch statements handle every case, etc.