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

[deleted]


IMHO a file over 200 lines is OK, as long as the functions in it are less than 50 lines long... That's one thing I cannot stand when reading people's code. Scrolling down to see the end of the function and then up again to see what that function was meant to do... It's a basic thing which all too often people writing coding standards documents or blog posts entitled "how to be a great programmer" forget about...




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

Search: