Re: Obj-C vs Java
Re: Obj-C vs Java
- Subject: Re: Obj-C vs Java
- From: "Dennis C. De Mars" <email@hidden>
- Date: Wed, 25 Jul 2001 19:25:30 -0700
on 7/25/01 8:02 AM, Lloyd Sargent at email@hidden wrote:
>
Unfortunately I fear that I am in the minority - there seem to be a lot
>
of people waiting for ObjC++ to be supported. Personally, I think it is
>
refreshing to learn a knew language (okay, some _minor_ extensions). But
>
let me tell you, right now I am having a ball!
I agree with you totally that it is refreshing to learn a new language. I'm
a little puzzled about your comment about a lot of people waiting for ObjC++
though. I think most of those people are waiting because they have a ton of
existing C++ source code they don't want to just throw away.
The way you put it, you'd think that it was because there are a ton of
people who really want to program in C++ instead of Objective C. Of course,
there _are_ people like that, but using Obj-C++ will not spare them from
having to learn and use Objective C. All interfacing with Cocoa will still
have to be done with Objective-C. All subclassing of Cocoa clases will be
creating Objective C classes with Objective C methods, any collection
objects passed to Cocoa objects will have to be Cocoa collection objects
accessed via Objective C syntax, etc. etc.
Clearly there will be people cavalierly defining and using C++ type stuff
mixed in with the Objective C code. More power to them, but personally I
think I will have some trepidation writing more C++ code than is absolutely
necessary to access legacy C++ code. I think I want to minimize dependence
on a compiler that allows mixed Obj C and C++ since support for this
compiler went away in the past and who knows what will happen in the future.
- Dennis D.
- Dennis D.