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

Its extremely subjective though. For the first few years after starting, I thought that large functions were bad and should be split up unless theres a clear reason not to.

Now, I feel that it should be the other way. Most of the time you want to keep the code that does something together, splitting it up only to factor out common reusable pieces (that are actually reused).

This is also discussed in the linked article.



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

Search: