Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Thursday September 12, 2002
03:18 PM

Interesting Objective-C thing

[ #7711 ]

Calling a method on undef/NULL doesn't cause a runtime error. I'm not sure what I think about that.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • return null/undef? Michel and I were talking about overloading undef to get the same behaviour so that chaining method calls that might fail to return an object would not blow up but instead propagate the returned undef to the lhs.


    -- Robin Berjon []