RE: Objective-C++
RE: Objective-C++
- Subject: RE: Objective-C++
- From: Patrick Griffiths <email@hidden>
- Date: Wed, 15 Aug 2001 15:52:17 -0400
I think the main idea is help people trying to port big apps written in C++
- and there are tons of them.
I wouldn't worry too much about "creating chaos". Individually, C, ObjC and
C++ give one more than enough rope to hang oneself with. A little more isn't
going to make any difference, and in the right situation it can be a
powerful tool.
Patrick
>
-----Original Message-----
>
From: Andreas Monitzer [mailto:email@hidden]
>
Sent: Wednesday, August 15, 2001 3:39 PM
>
To: David Kopec
>
Cc: email@hidden
>
Subject: Re: Objective-C++
>
>
>
On Wednesday, August 15, 2001, at 08:57 , David Kopec wrote:
>
>
> I believe that more complex applications of the below
>
procedure will make
>
> for sloppy code. I find this troublesome. I was under the
>
> impression(wrongly so) that ObjectiveC++ would only allow
>
Cocoa objects
>
> to contact C++ objects, and not the other way around.
>
Hence C++ objects
>
> could become Model objects in the Model-View-Control
>
paradigm. This is
>
> quite unfortunate, as I believe we will soon see
>
applications utilizing
>
> the below technique and creating chaos.
>
>
Calling ObjC from C++ already works with the current (10.0.4)
>
compiler
>
using objc_msgsend(), so it doesn't help when you try to hide
>
that feature.
>
However, C++-classes can't be delegate or data source for anything.
>
And I personally don't mind when others mess their code up :-)
>
>
andy
>
--
>
Discussion forthcoming.
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev