[Cuis-dev] method lookup
Stephen Travis Pope
stephen at heaveneverywhere.com
Sun Jul 14 14:05:56 PDT 2024
See notes in-line
stp
--------
Stephen Travis Pope Ojai, California, USA

http://HeavenEverywhere.com
http://FASTLabInc.com
https://vimeo.com/user19434036/videos
http://heaveneverywhere.com/Reflections
> On Jul 14, 2024, at 2:02 PM, Mark Volkmann via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
> Are the following statements all true?
>
> - Instance methods are associated with a class.
> - Class methods are associated with the metaclass instance of a class.
> - Each class holds a reference to a Dictionary that is used to map message selectors to instance method implementations.
> - Each metaclass instance holds a reference to a Dictionary that is used to map message selectors to class method implementations.
> - It is not possible to view the code for a metaclass (subclass of Metaclass) in a System Browser.
Wrong: The browser has a class/instance switch with which you can switch between viewing instance and class methods.
> - The method lookup dictionaries cannot be inspected or explored.
They can, but it’s not recommended
> - It is not possible to use the debugger to step through the method lookup process.
True
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240714/c123c26a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240714/c123c26a/attachment.tiff>
More information about the Cuis-dev
mailing list