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

Or use a switch statement?


There's something satisfying about converting if/else tables to switch statements. I find them so much more readable.




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

Search: