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

It really all boils down to cognitive load:

Can the average dev keep all of the variable states & side effects of the function in your head as they read through it? Great! Linear may be a good fit.

Or does one need to jump up and down in the function to /really/ understand it? Probably time to consider abstracting it.



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

Search: