Re: When and how often do you mix C++ with Objective C in your project?
Re: When and how often do you mix C++ with Objective C in your project?
- Subject: Re: When and how often do you mix C++ with Objective C in your project?
- From: "Colin Barrett" <email@hidden>
- Date: Thu, 30 Oct 2008 19:11:19 -0700
On Thu, Oct 30, 2008 at 4:33 PM, Boon Chew <email@hidden> wrote:
> Hi all,
>
> I am a newbie to the cocoa world (PC -> Mac switcher). I have a fair amount of experience coding in C and C++ and I am just getting into Obj C now. Right now I am trying to learn the language idioms and patterns in the Obj C world, specifically, when do you find yourself mixing C++ code with your Obj C code in your project? How often do you do that? What's the pros and cons of doing that?
While the folks here have posted excellent advice about how to work
with C++ and ObjC, your question was when and how often do ObjC and
C++ mix.
The answer is: not often. The vast majority of the time people write
applications in pure ObjC (note that since ObjC is a pure superset of
C, this could involve syscalls or using a C library of some kind).
Most of the time ObjC and C++ are mixed out of necessity, not desire
(although there are some exceptions).
-Colin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden