Hi Christoph --
IMHO #allInstances(Do:) should be used with extreme caution but the
default should be #allSubInstances(Do:).
Well, given that there are many cases where inheritance is used but composition would be better (see uses of #shouldNotImplement), I think that #allInstances might be the wiser choice, unless one specifically designs a hierarchy for extension-by-subclass.
Seriously: What's a valid case for subclassing Process? Somebody remembers something from the past? Process is a concern quite close to the VM.
Best, Marcel
Am 04.05.2024 um 18:26 schrieb christoph.thiede@student.hpi.uni-potsdam.de:
IMHO #allInstances(Do:) should be used with extreme caution but the default should be #allSubInstances(Do:).