News for hackers. Stuff that matters.
Re:In defense of blocks for local scopes by flohofwoe on Sunday June 26, 2022 @06:45AM (#31882690)
A separate function requires a mental "push/pop context" when reading the code to find and read the called function and then returning to the caller function, a simple scope block doesn't require such mental stack gynmastics (yes, some IDEs can help by visually inlining the called function back into the caller function, but that's just undoing an action that probably shouldn't have happened in the first place).

There are no comments on this comment yet.