News for hackers. Stuff that matters.
Re:Fundamentals of Optimal Code Style by Leherenn on Friday March 26, 2021 @08:30AM (#26591279)
Maybe not a mistake, but code smell, often, yes. If you add blocks, it's usually because you want to group things together, and avoid scope leakage (if that's an issue, then you're probably doing similar things multiple times). Often a function will be a better fit here.

There are no comments on this comment yet.