realbasic-nug
[Top] [All Lists]

Re: FR: Weak Delegates (was Re: Some questions about delegates)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FR: Weak Delegates (was Re: Some questions about delegates)
From: Andy Dent <dent at oofile dot com dot au>
Date: Sat, 1 Dec 2007 11:16:17 +0900
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <BAY107-DAV4A856F93620F2D65BA3C693710 at phx dot gbl> <8162A20A-AA06-46C4-8293-78D1BE7AE094 at chaoticbox dot com> <653CDEAD-238A-41A5-B733-0F7D18A3742C at mac dot com> <16692A87-04A2-4423-BE7A-8054FED03C9F at declareSub dot com>
On 01/12/2007, at 10:38 AM, Charles Yeomans wrote:

>
> I note, though, that delegates can be stored in WeakRef objects.  So
> I'm not sure that such a feature request is crucial.

Double dispatching overhead removed?

Saves time on the checking if the WeakRef is nil (good example of  
exception throwing vs checking error codes).

Nicely packaged in a single entity you can put in an array.

Seems reasonable to me as an addition which just nicely combines two  
existing concepts.

Andy Dent BSc  MACS   http://www.oofile.com.au/
OOFILE - Database, Reports, Graphs, GUI for c++ on multiple platforms
REALbasic, C++, Python, Mac and Windows development and porting



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>