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

Function length also depends on language. Every line of one language requires three line in another if the former has implicit error handling and the latter explicit. But I find the cognitive load of the two to be similar.

I am also okay with 1000 line functions where appropriate. Making me jump around the code instead of reading one line at a time, in a straight line? No thanks!



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

Search: