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.
There’s nothing wrong with 5 levels of nesting. It’s much easier to follow than 5 separate functions.