Linked by Thom Holwerda on Wed 24th Jun 2009 14:10 UTC, submitted by TuxJournal.net
Permalink for comment 370180
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2005-11-11
You really make it sound easier than it is. It's very easy to forget destroying an object. Sometimes the life time of an object is hard to determine, and if you specified the conditions under which the object must be freed incorrectly then it can very easily lead to memory corruption. Manual memory management is hard for most apps larger than hello world.
Even something like manual reference counting is easy to get wrong. Witness the tons of iPhone developers who came from PHP and must now suddenly write Objective C code. Many of these apps leak memory because these developers don't correctly reference count their objects.
Edited 2009-06-25 08:27 UTC