• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Future Objective-C changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future Objective-C changes


  • Subject: Re: Future Objective-C changes
  • From: James Duncan Davidson <email@hidden>
  • Date: Mon, 19 May 2003 15:19:21 -0700

On Friday, May 16, 2003, at 11:47 US/Pacific, Simon Stapleton wrote:

David Cittadini <email@hidden> wrote:
Rants are good :-)

But should not necessarily be taken to be majority opinion ;-)

Amen. As somebody who has many moons of Java experience, I found myself going through the following process when approaching Objective-C:

* Damn, those square brackets are funny looking
* And what's up with separated arguments?
* And, I have to manage my own memory?
* What's up with loose typing? Isn't that sloppy?
* Hrm, nice how the square brackets make messages obvious
* Wow, separated arguments make for more readable code. Who knew?
* Ref counting isn't so bad--and makes for a smoother UI. Not perfect, but...
* What? No packages?
* Hrm, packages would be nice, but whatever... I'm having too much fun with it
* Dynamic typing is really really really cool.
* Whoa, I can unit test my GUI controller code without having a GUI because of dynamic typing and the way that IB/Nibs break the problem down.

* and so forth....

All in all, my two years so far with Objective-C has taught me that I'm not as much of an object-oriented badass as I thought I was after working at JavaSoft. The influences of Smalltalk are great--and very cool. Does ObjC need improvements? Sure. What language doesn't?

But, I urge everyone (especially those that work at Apple that have the most to say) to tread carefully in making those changes. Most of the changes that one could make to the language would start ruining its advantages.

Oh, and I'll be expanding on these thoughts in my presentation at MacHack titled "Adventures into Objective-C, Confessions of a Java Junkie"


James Duncan Davidson
Coder, Speaker, Author
http://x180.net/
[life live];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Need Help with Obj-C -> Java bridge method calls with multiple arguments
      • From: Marc Liyanage <email@hidden>
    • Re: Future Objective-C changes
      • From: Marco Scheurer <email@hidden>
    • Re: Future Objective-C changes
      • From: Andy Lee <email@hidden>
    • Re: Future Objective-C changes
      • From: Tom Sutcliffe <email@hidden>
References: 
 >Re: Future Objective-C changes (From: Simon Stapleton <email@hidden>)

  • Prev by Date: Re: RE: RE: Events between Objective C objects
  • Next by Date: Re: Localized string compare borked?
  • Previous by thread: Re: Future Objective-C changes
  • Next by thread: Re: Future Objective-C changes
  • Index(es):
    • Date
    • Thread