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

The rule of thumb I use is to only have one return after modifying state that will persist outside the function call.




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

Search: