Re: From Carbon to Cocoa
Re: From Carbon to Cocoa
- Subject: Re: From Carbon to Cocoa
- From: m <email@hidden>
- Date: Tue, 20 Jul 2004 15:37:24 -0700
On Jul 20, 2004, at 1:42 PM, Shawn Erickson wrote:
On Jul 20, 2004, at 12:57 PM, Tim Conkling wrote:
As a new Cocoa developer, I'm having a bit of difficulty figuring out
how to do things the Cocoa way -- my brain is stuck in Carbon-land.
[snip]
In my opinion a way to attack this is to forget you ever knew Carbon,
don't try to find parallels. Learn it from a clean slate and then look
back towards Carbon afterwards.
As a graduate of MacApp, Think Class Library, PowerPlant, and MFC, I'd
like to agree with Shawn. Parallels exist of course, and many patterns
and concepts do transfer from other class libraries to Cocoa, but OOP
in Objective-C is different enough from that of Object Pascal, Think C,
and C++ that it is good to try to see it on its own terms. What I found
particularly frustrating was trying to find the Objective-C "way" of
implementing C++ idioms that I had come to rely on.
Better just to find new idioms.
Someone else had mentioned getting one of the "Learning Cocoa" books
and working through the examples. This is good advice.
_murat
_______________________________________________
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.