🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Examples please

#328
From: Scott Hess
Date: Fri, 24 May 1991 22:56
48 lines
3124 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. 

Not that I'm going to offer up any example code - I've got what I've
written on the NeXT-specific archives, and since it's all NeXT-
specific code, it's not good Objective-C example code.

But, I think you've taken any of the c++ denigration that periodically
occurs on this group wrong.  C++ isn't really inferior to Objective-C,
anymore than a tire iron is inferior to an Allen wrench.  It's just
that they don't do the same jobs.  When you need an Allen wrench, a
tire iron does you no good, and vice versa.

Obviously, c++ and Objective-C are slightly closer than tire irons
and Allen wrenches, but those things they do _well_ are far enough
apart to make the overlap a relatively minor consideration when you
are deciding on a new language.  For instance, you cannot do the
'perform:', 'perform:with:' and other similar methods in c++
at this time - while c++ is excellent at encapsulating small
chunks of information (Objective-C is not, as it's less efficient
if you get too fine-grained, at least when compared with c++).

The question people really need to consider before deciding
between the two languages is whether either of them even fit
their needs.  Then, they should decide if maybe _both_ could
be used (not really a solid option until GNU's Objective-C
comes out), and only then should they decide which one makes
the most sense in their situation.  If the first two questions
are asked in a serious manner, and answered objectively (pardon
the pun), the third question would seldom (if ever) need to be
asked.

Later,
--
scott hess                      scott@gac.edu
Independent NeXT Developer	GAC Undergrad	<Finals done!>
<I still speak for nobody>
Note:  I will be moving home soon.  My email address will still be
valid.  Any SnailMail should be redirected, along with phone calls.
At the least, my parents can tell you how to get hold of me, or
forward any mail . . .
Old:	PO 829, GAC, St. Peter, MN  56082	(507) 933-8466
New:	RR#4 Box 227 Pipestone, MN  56164	(507) 825-2788
Technical Details
Message-ID: <SCOTT.91May24175620@mcs-server.gac.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!cs.umn.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott
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!think.com!spool.mu.edu!cs.umn.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott
From: scott@mcs-server.gac.edu (Scott Hess)
Newsgroups: comp.lang.objective-c
Subject: Re: Examples please
Message-ID: <SCOTT.91May24175620@mcs-server.gac.edu>
Date: 24 May 91 22:56:20 GMT
Article-I.D.: mcs-serv.SCOTT.91May24175620
References: <1991May24.143213.25931@cbnewsl.att.com>
Distribution: na
Organization: Gustavus Adolphus College
Lines: 48
Nntp-Posting-Host: mcs-server.gac.edu
In-reply-to: wag1@cbnewsl.att.com's message of 24 May 91 14:32:13 GMTLines: 48