home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12599 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!decwrl!csus.edu!netcom.com!nagle
  3. From: nagle@netcom.com (John Nagle)
  4. Subject: Re: Is C++ "for the rest of us" ?
  5. Message-ID: <k9!nz8l.nagle@netcom.com>
  6. Date: Thu, 20 Aug 92 00:06:33 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. References: <1355EN@netmbx.netmbx.de> <1992Aug17.154133.21417@saifr00.cfsat.honeywell.com>
  9. Lines: 17
  10.  
  11.        I'd recommend learning Smalltalk before C++, even if you never intend
  12. to write anything in Smalltalk.  Smalltalk offers object-oriented programming
  13. with safety, at some cost in performance.  In Smalltalk, one can actually
  14. see what this OOP thing is all about and what it buys you.  Then one can
  15. learn to deal with the compromises made in C++ to bolt OOP onto C without
  16. adding garbage collection.  If you learn C++ first, the clunky features
  17. of the language obscure the object-oriented concept.
  18.  
  19.        I'd avoid any C++ without templates for new work.  You really
  20. need a generic capability to make OOP work, and hokey schemes with
  21. macros and heavy use of "(void *)" bypass most of the type checking
  22. while not making it clear where it has been bypassed.
  23.  
  24.        I suppose we all have to go to C++, but after two years with the
  25. language, I wish something better were available.
  26.  
  27.                     John Nagle
  28.