Linked by Jared White on Thu 24th Apr 2003 17:49 UTC
General Development There are two major varieties of Cocoa available. The first variety, possibly the more well known of the two, is the kind that you can use to make a nice warm cup of chocolate milk. While tasty, it's hardly proper subject matter for an operating systems information site. The second variety is far more on-topic: a programming environment for Apple Mac OS X that is the modern evolution of of the original NeXTSTEP frameworks. That's what I'm here to talk about today.
Permalink for comment
To read all comments associated with this story, please click here.

Jason,
1) Message sends to null pointers are just ignored.
2) The compiler doesn't need to know - the runtime figures it out.
3) Its just simpler that way. Objective-C objects are not meant to be thought of like C structs.
4) If you have a method with a lot of arguments, named parameters make things a lot easier, because there is no chance you are going to mix up the order. Its amazing how upset everyone gets over the weirdness of the square brackets initially. I did too, but you get to love them after a day or so, trust me!

your example would be something like

[v addExample:[Integer new:1]];

I don't see how that is any harder to read.