2 ms·
>>My programs crashed with the dreaded access violation >>error all the time. Debugging that sucked. I assume >>it's better these days. How would automatic gar
by ak39 7y ago
>>My programs crashed with the dreaded access violation >>error all the time. Debugging that sucked. I assume >>it's better these days.
How would automatic garbage collection help in a scenario where you are deliberately accessing an object that you haven't created or have destroyed already?
- thu2111 7y agoHm, have you used a GCd type safe language before? This is a bit of an odd question. In modern languages like Java (but unlike Delphi) you can't access an uncreated object or manually destroy objects, outside of special cases like file handles. My point is that there's a lot to learn when you start out programming. Most developers don't write manually memory managed code anymore so it's a skill that can be pushed far down the list of things to learn, and trying to learn it right at the start will just get in the way.