[Grace-core] super in Grace

Ewan Tempero e.tempero at cs.auckland.ac.nz
Mon Feb 7 18:38:32 PST 2011


Hi all,
Apologies for the double posting of my last message.
In that message I said I saw no case where a method invokes a method with the same name 
but different parameters. I also indicated that that result wasn't to be trusted, and I 
was right. My analysis was not correctly distinguishing between invocations of methods 
with the same name with the same parameters, and same name but different parameters.

The attached chart shows the updated data, but only for the latest version I have of each 
of the 106 systems (see http://qualitascorpus.com/docs/catalogue) for the list. Green 
shows same name and parameters (what I call 'self') and red shows same name but different 
parameters ('name'). I've also attached a file with the data on which this chart was 
based, so you can get an idea of the magnitudes involved.

Summary: there is sufficient use of same-name-different-parameters and different-name that 
more data is needed to justify not supporting one or both of these features.

cheers
--ewan


On 07/02/11 15:44, Ewan Tempero wrote:
> Hi all,
>
> On 02/02/11 22:58, James Noble wrote:
>> So we have the following design space for "super"
>>
>> * full generality of Smalltalk/Java super sends?
>> - change method name & arguments
>> * full call-next-method
>> - changes arguments but NOT method name
>> * restricted call-next-method
>> - calls next method with same arguments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: latest.csv
Type: text/csv
Size: 4022 bytes
Desc: not available
URL: <https://mailhost.cecs.pdx.edu/mailman/private/grace-core/attachments/20110208/4bbb1614/attachment.csv>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: latest.png
Type: image/png
Size: 5179 bytes
Desc: not available
URL: <https://mailhost.cecs.pdx.edu/mailman/private/grace-core/attachments/20110208/4bbb1614/attachment.png>


More information about the Grace-core mailing list