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.
Not convinced
by Mike Hearn on Fri 25th Apr 2003 08:34 UTC

Sorry, but I do find the [] syntax confusing, as it's never clear what is the method and what are the arguments.

To claim that named arguments are easier to read may have some merit, but I'd note that most scripting languages let you do this (python does) and in languages like Java/C++/Delphi it's less important anyway because in a good IDE you can hover the mouse over a method call to see the prototype anyway.

I've not seen anybody mentioned the big disadvantage of Objective-C, in that it's very slow. There's a reason languages like C, C++, Delphi etc work the way they do, and that's because static typing:

a) Lets you catch some errors you otherwise would miss and
b) is very fast.

To be honest, I don't see what advantages ObjC has over Python except perhaps the ability to use C code more easily. They both support OO, late binding, but Python has the advantages of a non-confusing syntax and true garbage collection.