Helping to find the usefulness of a proposal
Rémi Forax
forax at univ-mlv.fr
Thu Apr 2 15:25:42 PDT 2009
Ulf Zibis a écrit :
> Am 02.04.2009 13:39, Stephen Colebourne schrieb:
>
>> All,
>> One possible way I'd like to suggest that the coin evaluation could be
>> helped would be to write a script to find out how frequently the
>> specific issue comes up in real code.
>>
>> It should be possible to devise, write and run a script to find the
>> number of LOCs affected by many of the proposals. For example:
>>
>> - strings in switch (find if else on constant strings)
>>
>>
>
> More general:
> - objects and simple expressions in switch (find repetitive+nested usage
> of if else constructs)
>
> -Ulf
>
Stephen, Ulf,
Strings can be stored, by example, in a HashMap,
so finding if a part of a program can be retrofit or not is far from
simple.
Rémi
More information about the coin-dev
mailing list