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

fair enough. I think switch statement is a broader category for "basic programming primitives that you should just do yourself" -

agree big switch statements can be an anti-pattern, e.g. when an interface is clearly better suited



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

Search: