In retrospect, super should have been a meta-level slot. It says something
about the object itself,
not about the problem domain of the object, so it should be in the mirror.
The downside of AT’s current approach to stratification is that it is rather
cumbersome to use,
especially if one is simply interested in e.g. overriding meta_print to change
the printing
functionality (Java has toString defined on the Object class for such purposes)
E uses “miranda methods” which are prefixed with ‘__’ to allow objects
to interact with the
interpreter. Perhaps a clean way out could be to provide a modifier 'meta' for
fields or methods.
Fields/methods marked with meta automatically end up in the mirror of the
object. This way, they
do not interfere with the base level, while they remain as easy to define as
base-level fields.
Original issue reported on code.google.com by tvcut...@gmail.com on 16 Sep 2008 at 1:35
Original issue reported on code.google.com by
tvcut...@gmail.com
on 16 Sep 2008 at 1:35