garbage collection

c programming

Die, You Gravy Sucking Pig Dog!

In the C programming language, you're regularly forced to deal with the painful, dangerous concepts of pointers and explicit memory allocation. b1 = (double *)malloc(m*sizeof(double)); In modern garbage collected programming languages, life is much simpler; you simply new up whatever object or variable you need. Double[

By Jeff Atwood ·
Comments

.net

I'm smarter than the Runtime!

One of the great features of .NET is the automatic garbage collection that absolves the developer of worrying about C++ style memory management, where for every allocate, there must be a destroy, or you're leaking. And yet, I frequently see overzealous developers write code like this: Public Function

By Jeff Atwood ·
Comments