Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective C language [NEWBEE QUESTIONS]



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.