Hacker News new | past | comments | ask | show | jobs | submit login

>because you don't have to chase down the implementation of the subroutines to figure out what's going on

If the subroutines are sensibly named, you shouldn't need to. I'd argue they're also easier to follow than blocks of code within a long function as well-written small functions will depend only on their inputs, whereas code in a large function could depend on any of the params to that large function.




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

Search: