Slide 5
Slide 5 text
Garbage?
Garbage?
When we are talking about computers and garbage what do we mean? When our programs run we create things, these could be objects, lists, arrays, you name it.
Typically we create it and hold onto it for the duration of a computation. When we are done with out computation, we return the result stop looking at those things we
created.
Some languages make you responsible for ensuring that the data is destroyed when you are done with it. Though some languages such as Ruby and Lisp take care of
these details for us. Until the language has done something about this lost data, it will be somewhere in our program, we just can’t find it.