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

It's kinda fine if it's a short function like that[1]. When you get above 10-15 lines in a function though, it's easy to lose track of what's a return variable and what isn't.

[1] and everything in the codebase uses that style otherwise it's annoying to have to context-switch every 5 minutes.



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

Search: