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

I think you are extrapolating too far from a simple example and losing sight of the non-essential complexity that a switch and if-statement based approach creates. I've been there; it doesn't work very well, IMHO.


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

Search: