home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!decwrl!csus.edu!netcom.com!nagle
- From: nagle@netcom.com (John Nagle)
- Subject: Re: Is C++ "for the rest of us" ?
- Message-ID: <k9!nz8l.nagle@netcom.com>
- Date: Thu, 20 Aug 92 00:06:33 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1355EN@netmbx.netmbx.de> <1992Aug17.154133.21417@saifr00.cfsat.honeywell.com>
- Lines: 17
-
- 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. 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.
-
- 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.
-
- I suppose we all have to go to C++, but after two years with the
- language, I wish something better were available.
-
- John Nagle
-