Syntactic Confectionery Delight | |
PerlMonks |
Re: The Null Mull (or, when OO needs more O)by elusion (Curate) |
on Nov 29, 2004 at 16:31 UTC ( [id://410962]=note: print w/replies, xml ) | Need Help?? |
I couldn't turn up any great links on the subject, but Objective-C (as used in Apple's Cocoa development) uses this pattern. Calling a method on a nil object returns nil. It'd be similar to this Perl, which would print undefined:
I happen to like it.
In Section
Meditations
|
|