News for hackers. Stuff that matters.
Re:The Evolution of C Programming Practices: A Study of Unix... by simias on Friday May 11, 2018 @10:45AM (#17047634)
Boilerplate in term of characters typed, not resulting code size. Adding a bunch of function declarations adds a significant amount of noise IMO.

>RAII can work, but it's a bit clunky compared to a nested function call. Additionally, if the code being factored is not necessarily the same on all paths, that doesn't fit well with RAII.

I think I'd need to see an example of what you're talking about then because I don't quite understand how your method works exactly.

There are no comments on this comment yet.