Re: Rationale to close the operation overloading issue

Hi David,

>>getAddress(socialNo)
>>getAddress(name, surname)
>>getAddress(login)
>> ...
>These are clearly three different functions with three different
>semantics.

Clearly? From my point of view the three operations mentioned
above differ only by their signature not their semantics.

The semantics itself is IMHO expressed by the name of the
operation. A getAddress operation remains pretty the same from the
user's perspective even if some parameters differ.

I would really plead not to illegally synonymize the notion of
signature found in some, not all, programming languages with the
notion of semantics in general.

just my 2 cents ...
 Mario

Received on Friday, 21 June 2002 03:25:23 UTC