[Newbies] What is a "weak" reference

Marcin Tustin mm3 at zepler.net
Tue Jul 15 13:42:31 UTC 2008


One of the uses of weak references in other languages is to keep a
collection of all the instances of a class without preventing them being
garbage collected. Obviously, this is not necessary in squeak.

On 7/15/08, Herbert König <herbertkoenig at gmx.net> wrote:
>
> Hello cdrick,
>
>
> c> All that sounds like "don't use weak reference" :)
>
> .... unless you know exactly what you are doing.
>
>
> --
> Cheers,
>
>
> Herbert
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080715/883224db/attachment.htm


More information about the Beginners mailing list