In computer programming, a weak reference is a reference that does not protect the referenced object from collection by a garbage collector; unlike a strong reference. An object referenced only by weak references is considered unreachable (or weakly reachable) and so may be collected at any time. Some garbage-collected languages feature or support various levels of weak references, such as Java, C#, Python, Perl, and Lisp.
Read more about Weak Reference: Garbage Collection, Variations, Examples
Famous quotes containing the words weak and/or reference:
“When our brain feels too weak to deal with our opponents objections, our heart answers by casting suspicion on their underlying motives.”
—Friedrich Nietzsche (18441900)
“If Hitler invaded hell I would make at least a favourable reference to the devil in the House of Commons.”
—Winston Churchill (18741965)