🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Objective-C vs. C++

#54
From: Richard Pettit
Date: Thu, 27 Aug 1992 16:14
23 lines
1513 bytes
It seems that I'm the only person who I've heard say that the best features
of C++ have nothing to do with object orientation.

The power of operator overloading provides the programmer with the ability to
define a data structure and the operations on it.  Since the natural
progression of reusable software is from in-line-code -> function ->
library-member -> language feature, this functionality is key in providing a
powerful, high level language.

The ability to define template classes takes the notion of code reusability
another step.  The container class and the operations on it are defined once
and the programmer instantiates this template class as needed for each type,
removing the need for repeated code modification.

The exception capability is nice, but overly complex and will meet with
widespread lack of use, much like the MI features.

And now for some real code:

  {S(=@[length,%1]->id;apndl@[1,S@tl]@(while not@!and@&<=@distl@[1,tl] rotr))}

Rich
----
Technical Details
Message-ID: <l9pvs3INN23a@west.west.sun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!richp@vela-X
References: <rmartin.714926059@thor>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!richp@vela-X
From: richp@vela-X (Richard Pettit)
Newsgroups: comp.lang.objective-c
Subject: Re: Objective-C vs. C++
Message-ID: <l9pvs3INN23a@west.west.sun.com>
Date: 27 Aug 92 16:14:59 GMT
Article-I.D.: west.l9pvs3INN23a
References: <rmartin.714926059@thor>
Reply-To: comp.lang.objective-c
Followup-To: comp.lang.objective-c
Distribution: world
Organization: Hierarchical
Lines: 23
NNTP-Posting-Host: vela-x.west.sun.com