Wow, a whole site dedicated to removing all the joy and humour from xkcd.
caolan's
diary entry makes me wonder why people in large C++ projects
like OOo still insist on
managing
memory
the hard
way.
If cppcheck (a simple pattern matcher) can find those
problems then the bad/missing delete
must have
been very close to the new
so there's no reason
it couldn't be wrapped in a smart type that would clean up
automatically. I dread to think how many memory-related
bugs there are in OOo that can't be detected by simple
pattern-matching.