Helping to find the usefulness of a proposal

rssh at gradsoft.com.ua rssh at gradsoft.com.ua
Thu Apr 2 07:18:26 PDT 2009


> On Thursday 02 April 2009, rssh at gradsoft.com.ua wrote:
>> > As a matter of interest, how would you go about finding the instances
>> of
>> > the problem that my lightweight properties proposal aims to solve,
>> i.e.
>>
>>  .... afraid none = scripts will  works only for simple proposals.
>
> Well I suppose a first pass would simply be to count all occurences of
> String values who's value matched a field name, but how deep do you
> go looking for fields - probably just in the user's code not the libraries
> even though you would then miss lots of PropertyChange fires and
> all the named properties inside Swing.
>
> Could your code do the simple string == fieldname scan?  That would
> under-count, but it would be a start.
>

Yes, this is possible. But if we have class X with field "fx", than String
"fx" somewhere in class Y - how count this ?
 This can be undercount or overcount.
Knowledge about Y import (i. e. X is accessible from X or not) also give
us nothing, because exists possibility, that this is something generic in
Y.

So, we can receive some counts and they would have some correlation with
property access, but all with some level of 'vagueness' in interpretation.

> David
>
>





More information about the coin-dev mailing list