On Wednesday, 14 May 2014 at 11:14:47 UTC, bearophile wrote:
I suggest a name like "@monitor". The is no need for the
underscores.
Done.
A more tidy design could require the @monitor in all classes
that inherit from a @monitor-annotated class. But this also
looks a little overkill. So let's hear what other people think
about this.
It should be easy to implement, but i'm not sure if it will be
handy. Monitors are not something that affects children behavior
too much. So changing a superclass to be @monitored should not
require updating subclasses. IMHO.