www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/05/07:03:38

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: is djgpp object-oriented?
Date: Wed, 04 Aug 1999 19:31:09 -0500
Organization: CRL Network Services
Lines: 27
Message-ID: <37A8DB4D.286786A1@a.crl.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990804094855 DOT 6630E-100000 AT is>
NNTP-Posting-Host: a116015.stl1.as.crl.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i586)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Tue, 3 Aug 1999, Shawn Hargreaves wrote:
> 
> > > You can't even dereference a pointer in C++ without being sure it wasn't
> > > overloaded by some class that is called deep inside the libraries you are
> > > using.
> >
> > For sure: that's why it is important to understand the language,
> > and know what libs you are using.
> 
> No argument here.  The crux of the problem is that with C++, you need
> a much more detailed knowledge of every single class library you are
> linking in.  Since some of these libraries can come without sources,
> it might be impossible or impractical to do that.  The level of trust
> for library code, to say nothing of primitive operations like pointer
> dereference, in C usually can be much higher, at least for ``normal''
> application code that doesn't have to live with slow CPUs and small
> memory size.

For some good C++ humour, please take a look of the Bjarne Stroustrup
April Fools (1998) paper "Generalizing Overloading for C++2000":
http://www.research.att.com/~bs/whitespace98.pdf .

-- 
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019