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.
Re: message dispatch style
by praetorian on Thu 24th Apr 2003 19:40 UTC

I hope Apple or atleast the GCC dudes will drop this horrible "[obj method]" syntax - it makes a a source - especially when you mix it with arrays - unreadble. The 'dot' is the way to go - just like Java: obj.method.
Maybe its the reason for the missing code completion in PB.


Used to be of this mind. Less certain now. I'm still not too keen on naming every argument. I used to have a big problem with lisp's syntax too, and I'm over it. (Waaaaay over it.)

I don't see why this would limit code completion in PB. If you have the pointer type of an obj you should be able to present reasonable code completion. (You could even detect for a Class/Interface test in a surrounding if statement and do some intelligent code completion.)

I'm hoping that code completion will make it into PB at WWDC. I really think that this feature would turbocharge application development. (I'm an emacs-with-viper-enabled kind of guy, but, having used Eclipse for the past six months has turned me around a bit.) The easier Apple makes it for newbies and middlin'-bies to wade in, the better.

Cheers,
prat