3 ms·
I recall that this was the default action of Smalltalk? I can't find a reference though, so I am very likely incorrect. In Objective-C nil will absorb any mess
by bodhi 15y ago
I recall that this was the default action of Smalltalk? I can't find a reference though, so I am very likely incorrect.
In Objective-C nil will absorb any messages too, see the section "Sending Messages to nil" in http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/ObjectiveC/Chapters/ocObjectsClasses.html http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/...
- deleted 15y ago[deleted]
- spooneybarger 15y agoIt isn't the default action in smalltalk. nil does not silently absorb messages in smalltalk.