Objective-C is actually 100% C, with OO extensions.
It's just that the OO extensions look (syntactically) less like vanilla C.

I've used both, but neither enough to make a good comparison.

The OO "style" that Obj-C uses is based on Smalltalk.  Obj-C uses "dynamic 
message sending" (my term), and I believe this makes it more like an OO 
scripting language than C++.

Frank




>________________________________
> From: "McKown, John" <john.mck...@healthmarkets.com>
>To: IBM-MAIN@LISTSERV.UA.EDU 
>Sent: Tuesday, September 18, 2012 9:21 AM
>Subject: Re: Strings
> 
>A bit OT for the Subject, but I wonder if anybody has compared Objective-C 
>versus C++ in terms of ease of use. I know that Apple likes Objective-C 
>whereas UNIX seems to prefer C++ (or just plain C). z/OS doesn't even have an 
>Objective-C compiler as far as my limited knowledge goes. I have some doc on 
>Objective-C and it seems to be less C-like than C++.
>
>-- 
>John McKown
>Systems Engineer IV
>IT
>
>Administrative Services Group
>
>HealthMarkets(r)
>
>9151 Boulevard 26 * N. Richland Hills * TX 76010
>(817) 255-3225 phone *
>john.mck...@healthmarkets.com * www.HealthMarkets.com
>
>Confidentiality Notice: This e-mail message may contain confidential or 
>proprietary information. If you are not the intended recipient, please contact 
>the sender by reply e-mail and destroy all copies of the original message. 
>HealthMarkets(r) is the brand name for products underwritten and issued by the 
>insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
>Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
>MEGA Life and Health Insurance Company.SM
>
>
>> -----Original Message-----
>> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
>> On Behalf Of Kirk Wolf
>> Sent: Tuesday, September 18, 2012 10:15 AM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Strings
>> 
>> Linus has his reasons, some of which are actually technical and relate
>> to
>> the unique requirements of the Linux kernel.
>> 
>> Have you written at least a few hundred klocs in both C and C++?  I'm
>> sure
>> that David has and I agree with his statements 100%, perhaps with one
>> caveat - C++ is a much bigger language: the more complicated features
>> like
>> templates can be complicated to use and we tend to mostly avoid them.
>> Our
>> C++ code looks mostly like C with judicious use of classes, RAII,
>> exceptions, etc.
>> 
>> Kirk Wolf
>> Dovetailed Technologies
>> http://dovetail.com
>> 
>> On Tue, Sep 18, 2012 at 7:21 AM, Shane Ginnane <ibm-m...@tpg.com.au>
>> wrote:
>> 
>> > On Tue, 18 Sep 2012 13:40:11 +0800, David Crayford  wrote:
>> >
>> > >In fact, I find it difficult to fathom why anybody
>> > >would still write C code when C++ is such a superior language.
>> >
>> > I seem to recall some fella named Torvalds having his say about this
>> a few
>> > years ago.
>> > People (no, not Dave) keep coming up with a plaintive "why ain't the
>> > kernel written in C++ ... ?"
>> >
>> > Comes back to the old adage of "right tool for the job".
>> >
>> > Shane ...
>> >
>> > ---------------------------------------------------------------------
>> -
>> > For IBM-MAIN subscribe / signoff / archive access instructions,
>> > send email to lists...@listserv.ua.edu with the message: INFO IBM-
>> MAIN
>> >
>> 
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to