scripts and results (was Helping to find the usefulness of a proposal)
Ulf.Zibis at gmx.de
Tue Apr 21 08:47:56 PDT 2009
Am 16.04.2009 08:27, Ruslan Shevchenko schrieb:
>> Hi Ruslan,
>> I would like to see the results for
>> "objects and expressions in switch"
>> which includes:
>> - string in switch
>> - instanceof switch
>> I guess a very big chunk of all if-else if-structures would be covered by:
> Ok, I will alloc some time during next week-end for more patterns and
> statistics and will try include this one. This will some 'near' refinemed
> of proposal, becouse original proposal does not define what is 'leftPart'
> and 'rightPart' of Java expression in formal way [this is not so trivial,
> as expected. For example what left part will be in function expressions:
> 'this' or nothing ?. How we split chained expressions on left and right ?]
> For this reasons, I guess probability that this proposal will seen
> seriously is very low.
> (Second change which I plan: add statistics about relative number of
> chainged construction/number of all such constructions).
as I see, your didn't have time for more patterns. :-(
Hopfully you will find time next days. :-)
More information about the coin-dev