Not My Business... most of the time

time to read 2 min | 315 words

I am so happy that I don't have to worry about Buffer Overruns anymore. If I did, though, this would be a good place to start looking for examples.

I had to do a code review on a C++ code, and it was basically something like:

// memory management
// memory management
// memory management
// memory management
// memory management
// memory management
// memory management

business logic
business logic

// memory management
// memory management
// memory management
// memory management
// memory management

And yes, I know that RAII can make this very easy, but that is not the case with most of the code that I see in C++.