C++ & Memory Management

Len Holgate has an excellent post on C++ & memory management (although the following citation sounds quite harsh, there are lots of insightful thoughts in his post):

Memory is only one of the many resources that need to be managed in a program and if you’re unable to get your head around memory management then you’re unlikely to understand how to manage files, or sockets or database connections or event handles or critical sections…

Having done C & C++ development for almost 20 years now, I would say that memory management is a waste of time for most types of applications. It’s just one more thing to worry about and I would prefer not to worry about it (and have the system worry about it for me) and worry about topics closer to the domain instead.

Comments are closed.