Helping to find the usefulness of a proposal

David Goodenough david.goodenough at linkchoose.co.uk
Thu Apr 2 07:29:27 PDT 2009


On Thursday 02 April 2009, rssh at gradsoft.com.ua wrote:
> > 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.
It would be a start I suppose.  It would probably overcount, but then this
test is also missing all the field names embedded in Criteria or similar APIs
and in SQL and related beasts.

David
>
> > David





More information about the coin-dev mailing list