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:
“The weak in courage is strong in cunning.”
—William Blake (17571827)
“In sum, all actions and habits are to be esteemed good or evil by their causes and usefulness in reference to the commonwealth, and not by their mediocrity, nor by their being commended. For several men praise several customs, and, contrarily, what one calls vice, another calls virtue, as their present affections lead them.”
—Thomas Hobbes (15791688)