🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #331

Re: Examples please

#331
From: Greg Comeau
Date: Tue, 28 May 1991 12:36
43 lines
2901 bytes
In article <1991May24.143213.25931@cbnewsl.att.com> wag1@cbnewsl.att.com (d.wagley) writes:
>
>I've heard alot of complaints in this newsgroup about how C++ is
>inferior to objective-c. One nice thing about C++ is that it's
>easy to find lots of information on it. The only thing I've found
>so far on objective-c is Brad Cox's book, which seems to be more
>a discussion of the object oriented approach than a tutorial on
>objective-c. 

I DO NOT want to be responsible for a O-C vs C++ rwar here.  I would
like to mention though that as this *is* an O-C newgroup, there *are*
going to be biased opinions expressed here.  To be fair though, there
will also be unbiased ones.

As to which language is inferior.... there is no question that certain
individuals will fight to their death over this.  My own personal preference
is for C++, and I have used it quite successfully, but many O-C enthusiasts
will be able to make the same claim.  The bottom line is not quite the question
of which is inferior or superior, but which does the better job for *you*.
And in addition, which does the better job for your projects.  FOr instance,
if it's more of a Smalltalk'y feel  you want, the O-C is probabky the best
route to take.  If it's early compiler diagnosticis, strong typing, more info
and availability, then go with C++.  O-C is typically better at prototyping
though.  But the C++ is a true C graft.  And so on.  Neither really ever
truly wins.

If you look at my .signature, the above may sound odd coming from me.
But that is the way it is.  I mean it's really  no different than asking
whether C is better than Pascal.  My preference is pro C and to snarl at
Pascal.  Realistically though, it just means I favor C as besides issues
like C's pointer capability the 2 languages can be used similarly.  But issues
just like C's pointer capbilities are where individuals draw their lines.
For instance, I may see the power and usability of C pointers, while a
Pascal'ite see terse and unreadable code with no type checking.

Which is worst?  Neither.  Which is better?  That depends.

- Greg
-- 
	 Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
                          Producers of Comeau C++ 2.1
          Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
                     Voice:718-945-0009 / Fax:718-441-2310
Technical Details
Message-ID: <39924@ditka.Chicago.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!uwm.edu!linac!unixhub!ditka!comeau
References: <1991May24.143213.25931@cbnewsl.att.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!uwm.edu!linac!unixhub!ditka!comeau
From: comeau@ditka.Chicago.COM (Greg Comeau)
Newsgroups: comp.lang.objective-c
Subject: Re: Examples please
Message-ID: <39924@ditka.Chicago.COM>
Date: 28 May 91 12:36:14 GMT
References: <1991May24.143213.25931@cbnewsl.att.com>
Sender: comeau@ditka.Chicago.COM (Greg Comeau)
Reply-To: comeau@csanta.attmail.com (Greg Comeau)
Distribution: na
Organization: Comeau Computing
Lines: 43