----------------------------------------
> From: da...@davidarno.org
> To: flex-dev@incubator.apache.org
> Subject: RE: AS3 Enhancements: method overloading. Why do people want this?
> Date: Mon, 16 Jan 2012 15:09:46 +0000
>
> > From: Nicholas Kwiatkowski [mailto:nicho...@spoon.as]
> > Sent: 16 January 2012 15:02
>
> > public function sendAsString(stringToSend:String):bool
> > public function sendAsBool(boolToSend:Boolean):bool
> > public function sendAsArray(arrayToSend:Array):bool
> > public function sendAsInt(intToSend:int):bool ...
>
> Could you not just have:
>
> public function send(value:*):Boolean
>
> instead?
>
> David.
>


What if you need to implement 2 interfaces (that you don't own) with methods of 
the same names and differents arguments ?

Frédéric Thomas

                                          

Reply via email to