Hacker News new | past | comments | ask | show | jobs | submit login

"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.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: