Hacker News new | ask | show | jobs
by BurningFrog 4054 days ago
Split into functions with clear tasks that have clear names and are relatively standalone.

If you have to jump around between functions a lot to understand something, the code probably could use some reorganizing.