News for hackers. Stuff that matters.
Re:How Developers Choose Names by MattRix on Sunday April 18, 2021 @12:13PM (#26853698)
This sort of thinking leads to codebases that are too abstract, where it’s hard to follow the flow of execution.

There’s nothing wrong with 5 levels of nesting. It’s much easier to follow than 5 separate functions.

Re:How Developers Choose Names by Forge36 on Sunday April 18, 2021 @09:20PM (#26858274)
Depends on the size of the function. If these are literal one liners: don't break them up. When they are shared between multiple pieces it's more useful. Ie: submit request has multiple callers.