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:
“Nothing convinces persons of a weak understanding so effectually, as what they do not comprehend.”
—Philip Dormer Stanhope, 4th Earl Chesterfield (16941773)
“If Hitler invaded hell I would make at least a favourable reference to the devil in the House of Commons.”
—Winston Churchill (18741965)