Types of Garbage Collection
~ Roedy (1948-02-04 age:70)
- In Canada, the government sends men to your house every week to take away your garbage. Hoarders are free to
hang onto things they don’t really need.
- In third world countries, it is up to you to take your own garbage away.
- Java’s garbage collection system is analogous to a garbage removal system where every hour, workers
scan your house for junk mail, the contents of waste baskets, carpet lint, toenail clippings and anything else
they are absolutely sure you don’t want to keep.
- C++’s system for disposing of unreferenced objects is similar to India’s, with the strange
feature that undiscarded garbage becomes invisible but still stinks.