Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"C-style switch isn't powerful enough to handle this due to the _ wildcards"

Doesn't fallthrough enable you to implement wildcards? You still have to exhaustively list every option, but that's not hard here.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: