Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Forlien
· 10y ago · 0 comments
Did you link the wrong page? It looks like they are advocating switch statements.
Comments
[–]
labrador
10y ago
If you read down, there are people against them. I didn't know this was a thing. The top comment is saying of course, switch statements are fine. There are other posts if you search for switch in r/JavaScript. This one is probably more indicative:
https://www.reddit.com/r/javascript/comments/3a4ras/how_ofte...