[Grace-core] super in Grace

Andrew P. Black black at cs.pdx.edu
Tue Feb 8 01:38:33 PST 2011


Given all the other thugs we have to do, I'm beginning to think that this is one area in which we need not innovate, but should just follow the herd (Java & Smalltalk.

    Andrew

On 7 Feb 2011, at 18:38, Ewan Tempero wrote:

> 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
> <latest.csv><latest.png>_______________________________________________
> Grace-core mailing list
> Grace-core at cecs.pdx.edu
> https://mailhost.cecs.pdx.edu/mailman/listinfo/grace-core



More information about the Grace-core mailing list