Y
Hacker News
new
|
ask
|
show
|
jobs
by
sam_bristow
1907 days ago
Falling through case statements by
default
has been the cause of so many bugs over the years.
Fall-through can be a useful behaviour, but it's definitely a foot-gun.