Imagine how powerful our programs could be if we were still that conscious of memory allocation.

There is a happy middle ground for sure.

The problem is in my mind, garbage collection literally makes people think they can ignore it entirely, only to go on never deallocating objects and those objects never getting garbage collected.

It was always a serious problem in Java, and it's a serious problem in c# now too.

Developers digging into things without a thought to this is the primary cause of memory leaks in applications that I end up cleaning up from my juniors.

I'm no saint myself, and I'm not suggesting every byte of memory be explicitly allocated. But if people just had some basic understanding and care towards memory stewardship we would all be better off.

/r/ProgrammerHumor Thread Parent Link - i.redd.it