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:
“Against self-slaughter
There is a prohibition so divine
That cravens my weak hand.”
—William Shakespeare (15641616)
“In writing these Tales ... at long intervals, I have kept the book-unity always in mind ... with reference to its effect as part of a whole.”
—Edgar Allan Poe (18091849)