Interesting Objective-C thing

Matts on 2002-09-12T20:18:04

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


What does it do then?

darobin on 2002-09-13T14:36:58

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.