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

> having a function with a single return statement on one line, while legal, I cannot imagine why someone would do it in a non one off script code.

I agree. Seems to be a personal preference, but still feels odd.





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

Search: