[Laszlo-dev] arg to apply and remove methods of LzState

P T Withington ptw at laszlosystems.com
Thu May 8 19:52:40 PDT 2008


Are you saying there is a case where someone is making a delegate out  
of these methods?  I would say you should make a delegate to a  
'wrapper' method that handles the argument and then calls the real  
method.  That way you don't have to change the signature of the public  
API.

If you have a specific example, I could elaborate.

On 2008-05-08, at 21:26 EDT, Henry Minsky wrote:

> So I know we were discussing the general issue of making methods  
> that are
> the targets of event sending obey the
> event protocol and accept an argument, but in the case of 'legacy'  
> public
> APIs like the LzState apply() and remove methods(),
> which have been publicly not requiring an argument, should we be  
> giving them
> an optional "ignore" argument?
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list