[rules-dev] Fine Grained Property Change Listeners (Slot Specific)

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jan 18 08:02:45 EST 2012


Thanks for the careful analysis. 2 remarks:

On 18/01/2012, Mario Fusco <mario.fusco at gmail.com> wrote:
>
> 2. At the moment there is no way to enable this feature as a PackageBuilder
> option. Personally I am not convinced that this will be a good idea, but,
> if we'll decide to allow it, I suppose it won't be a big effort. Let me
> know what you think about it.

The rationale I have in mind is that "slot specific" being active is
something that
many (unspoilt  ;-)  ) users consider as natural, so that it might be
desirable to have this turned on with a single call.

> 9. To ask if a rule with a LHS like:
>
>   when
>     Person(  $name: name == "Smith") @watch( ! name )
>
> will ever fire, is not the right question.
[snip]
> nothing prevents the rule to fire when a newly
> Person with name == "Smith" is inserted.

That's exactly what I wanted to know, so I guess the question is allright ;-)

-W


More information about the rules-dev mailing list