Re: Objective C language [NEWBEE QUESTIONS]
Re: Objective C language [NEWBEE QUESTIONS]
- Subject: Re: Objective C language [NEWBEE QUESTIONS]
- From: Erik Hanson <email@hidden>
- Date: Sun, 15 Feb 2004 16:06:19 -0800
(I know I'm really late with this response... I'm 2051 messages behind
right now :)
On Jan 30, 2004, at 2:33 PM, James Duncan Davidson wrote:
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.
I would love to own a book called "Objective C for Java Programmers"
that would map Java syntax, concepts and idioms to Objective C, and map
the Java API to the Cocoa API (at a high level).
Obviously, there's not a 1-to-1 map, which is what makes it hard to
learn and which is what would make this a book rather than a
spreadsheet.
I realize that you can figure out how to do things the Objective C way
without such a book, but it sure would be convenient to have it all in
one place.
So if anyone wants to spend months and months of work on this, you'd be
guaranteed of at least my $30 :)
--
Erik Hanson
_______________________________________________
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.