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

I find if preferable to switch all the time. Switch needs two indents and virtually always that extra break, which makes it more complex all around than a simple if.


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

Search: