June 27, 2025
7 p.m.
Why is UndefinedObject version of "did not understand" so different from others? It also inverts the object message paradigm. Thanks Aik-Siong Koh description    "Returns a textual description of the exception (based on the message instance variable). If message is nil, it returns the defaultDescription instead."    message ifNil: [ ^ self defaultDescription ].    message lookupClass == UndefinedObject ifTrue: [       ^ message selector printString , ' was sent to nil' ].    ^ 'Instance of ' , message lookupClass printString     , ' did not understand ' , message selector printString