next up previous
Next: Advice selectors Up: Late Binding of Advice Previous: Advice grouping

Congruent arguments

One possible way to establish a group of advice declarations is to compare argument lists. Any two advice declarations with congruent argument lists would be in the same group, for some suitable definition of `congruent.' This would probably be a poor idea; just consider how hard it would be to express that two advice declarations should actually be independent of each other even though they might be enabled at the same program point and they do have congruent argument lists. In particular, it would be hard to avoid unintended grouping of advice from different aspects, possibly written by programmers in different organizations.



David H. Lorenz 2003-01-15