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

It's not about fitting things onto screen; it's about fitting things in brain.

If ~25 years of doing programming for money taught me something, it's that the code is written to be read and maintained by humans, and having really short, clean, one-purpose, composable functions makes your life easier both long-term and short-term.



Amen to that, friend :-) First thing on programming class in the eighties-nineties:

"Fit all functions on one screen."

At that time that was roughly 22 lines depending on editor used.




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

Search: