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

More important then writing short methods is consideration of the methods purpose and name.

Any method should have only one purpose and that purpose should be expressed in its name. If it can't be expressed that way the function is to complex.



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

Search: