home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12779 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  2.6 KB

  1. Path: sparky!uunet!decwrl!access.usask.ca!ccu.umanitoba.ca!bison!sys6626!baden
  2. From: baden@sys6626.bison.mb.ca (Baden de Bari)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Is C++ "for the rest of us" ?
  5. Message-ID: <kX8yPB1w164w@sys6626.bison.mb.ca>
  6. Date: Sun, 23 Aug 92 12:25:43 CST
  7. References: <1992Aug21.020333.22539@ucc.su.OZ.AU>
  8. Organization: system 6626 BBS, Winnipeg MB
  9. Lines: 56
  10.  
  11. maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  12.  
  13. > In article <k9!nz8l.nagle@netcom.com> nagle@netcom.com (John Nagle) writes:
  14. > >       I'd recommend learning Smalltalk before C++, even if you never intend
  15. > >to write anything in Smalltalk.  Smalltalk offers object-oriented programmin
  16. > >with safety, at some cost in performance.  
  17. >     You're kidding right? About safety? Smalltalk is
  18. > type-safe in vacuuo :-)
  19. > >In Smalltalk, one can actually
  20. > >see what this OOP thing is all about and what it buys you.  Then one can
  21. > >learn to deal with the compromises made in C++ to bolt OOP onto C without
  22. > >adding garbage collection.  If you learn C++ first, the clunky features
  23. > >of the language obscure the object-oriented concept.
  24. >     Perhaps you should learn C++ first to see what static
  25. > type safety buys you. Then you might consider why C++ compromises
  26. > heavily in favour of security. Of course GC is an exception to this IMHO.
  27. > >
  28. > >       I'd avoid any C++ without templates for new work.  You really
  29. > >need a generic capability to make OOP work, and hokey schemes with
  30. > >macros and heavy use of "(void *)" bypass most of the type checking
  31. > >while not making it clear where it has been bypassed.
  32. >     Yes, but I dont see the connection between genericty
  33. > and polymorphism, on the contrary I thought they were totally
  34. > different mechanisms.
  35. > >
  36. > >       I suppose we all have to go to C++, but after two years with the
  37. > >language, I wish something better were available.
  38. > >
  39. > >                    John Nagle
  40. >     We all agree here surely :-)
  41. > -- 
  42. > ;----------------------------------------------------------------------
  43. >         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  44. >     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  45. > ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  46.  
  47.  
  48.             I'd like someone's views on the advantages of OOD in Prolog, 
  49. versus OOD in Smalltalk.  I was thinking of starting out in TC++, but 
  50. since I'm not well versed in the criptiveness of TC++ I'd like a more 
  51. proffessional opinion on which to use.
  52.  
  53.                 >>Baden<<
  54.  
  55.  
  56.  
  57. ;--- (Baden de Bari) a user of sys6626, running waffle 1.64
  58. ;E-mail: baden@sys6626.bison.mb.ca
  59. ;system 6626: 63 point west drive, winnipeg manitoba canada R3T 5G8
  60.