Hacker News new | ask | show | jobs
by Kabootit 2721 days ago
> Focus on making your code clearer, not fancier or "faster".

Exactly!

> By far the biggest mistake I see developers make is making their method/function bodies too long. Extract your methods people

As a general rule this is just one side of the coin imo. I often see this approach increasing the complexity of control flow in direct proportion to the simplification of individual code blocks. Net gain zero.