• 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: Objective C language [NEWBEE QUESTIONS]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective C language [NEWBEE QUESTIONS]


  • Subject: Re: Objective C language [NEWBEE QUESTIONS]
  • From: James Duncan Davidson <email@hidden>
  • Date: Fri, 30 Jan 2004 14:33:54 -0800

On Jan 30, 2004, at 04:08, Alexander F. Hartner wrote:

I have been playing with objective C for some time now, but the number
of questions seem to increase as I learn more about the language. My
background lies in Java development so I am familiar with OO.

Others have answers your points, but I want to add a meta comment. The style of Object-Orientation exhibited by Java is quite different from the style of OO exhibited by Objective-C. In may places, they are similar enough to make a transition of concepts, and even to co-exist to a remarkable degree when you use them together.

But, Objective-C is a very much more dynamic environment than Java is. And because of this, you really gotta be careful of trying to code ObjC like you would code Java. For the first 6 months I was hacking ObjC, I tried to push it into the Java mindset. After all, I'd been working in Java for many moons.

Once I let go of that and let it be what it was and started exploiting the strengths of ObjC, life was better.

duncan
_______________________________________________
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.

References: 
 >Objective C language [NEWBEE QUESTIONS] (From: "Alexander F. Hartner" <email@hidden>)

  • Prev by Date: NSMenu leak when connected to outlet with interface builder?
  • Next by Date: Re: NSArrayController Funkyness
  • Previous by thread: Re: Objective C language [NEWBEE QUESTIONS]
  • Next by thread: proper declareTypes: usage.
  • Index(es):
    • Date
    • Thread