home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: Is C++ "for the rest of us" ?
- Message-ID: <1992Aug21.020333.22539@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <1355EN@netmbx.netmbx.de> <1992Aug17.154133.21417@saifr00.cfsat.honeywell.com> <k9!nz8l.nagle@netcom.com>
- Date: Fri, 21 Aug 1992 02:03:33 GMT
- Lines: 40
-
- In article <k9!nz8l.nagle@netcom.com> nagle@netcom.com (John Nagle) writes:
- > I'd recommend learning Smalltalk before C++, even if you never intend
- >to write anything in Smalltalk. Smalltalk offers object-oriented programming
- >with safety, at some cost in performance.
-
- You're kidding right? About safety? Smalltalk is
- type-safe in vacuuo :-)
-
- >In Smalltalk, one can actually
- >see what this OOP thing is all about and what it buys you. Then one can
- >learn to deal with the compromises made in C++ to bolt OOP onto C without
- >adding garbage collection. If you learn C++ first, the clunky features
- >of the language obscure the object-oriented concept.
-
- Perhaps you should learn C++ first to see what static
- type safety buys you. Then you might consider why C++ compromises
- heavily in favour of security. Of course GC is an exception to this IMHO.
-
- >
- > I'd avoid any C++ without templates for new work. You really
- >need a generic capability to make OOP work, and hokey schemes with
- >macros and heavy use of "(void *)" bypass most of the type checking
- >while not making it clear where it has been bypassed.
-
- Yes, but I dont see the connection between genericty
- and polymorphism, on the contrary I thought they were totally
- different mechanisms.
- >
- > I suppose we all have to go to C++, but after two years with the
- >language, I wish something better were available.
- >
- > John Nagle
- We all agree here surely :-)
-
-
- --
- ;----------------------------------------------------------------------
- JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
-