[Pythonmac-SIG] pyobjc / cocoa
Bob Savage
bobsavage@mac.com
Wed, 16 Oct 2002 11:14:01 -0500
On Wednesday, October 16, 2002, at 09:12 AM, Michael Hudson wrote:
> Bob Savage <bobsavage@mac.com> writes:
>
>> I just want to point out one more thing: because these are part of the
>> name of the method, and not truly labels, the following two methods
>> are
>> distinct:
>>
>> [obj message: arg1 withFoo: arg2];
>> [obj withFoo:arg2 message:arg1];
>>
>> Those are two different methods.
>
> But surely this isn't an issue in practice? That would be horrible!
>
> Cheers,
> M.
I know no good reason to do this, but it seems foolish to assume
someone will never do what the language allows.
Bob