home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8092 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.5 KB  |  62 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!usenet
  3. From: gad@eclipse.its.rpi.edu (Garance A. Drosehn)
  4. Subject: Re: The Darker Side of C++ (forwarded)
  5. Message-ID: <m#=3fhn@rpi.edu>
  6. Nntp-Posting-Host: eclipse.its.rpi.edu
  7. References: <1iv5ijINN8ba@pith.uoregon.edu>
  8. Date: Tue, 12 Jan 1993 22:47:26 GMT
  9. Lines: 51
  10.  
  11. bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes:
  12. > rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) writes:
  13. > >       [quoting from a paper:]
  14. > > >>The worst disadvantage of C++ at the moment is political:  accepting
  15. > > >>C++ as the standard OO language de facto tends to kill other existing
  16. > > >>languages, and stifle the development of a new generation of
  17. > > >>essentially better OO languages.
  18. > > 
  19. > > Aaaaaaaaaamen!!
  20. > > 
  21. > > --
  22. > > Ronald Pomeroy        [Objective-Cruntime: [Smalltalk runtime]];
  23. > When I can do this in Obj-C I would be happy (tm):
  24. >     String a = "hello", b = " ", c = "world";
  25. >     cout << a + b + c + '\n';
  26.  
  27. I do wish Objective C (and every other language) did handle character  
  28. strings in a much more reasonable manner (such as the above).  I really  
  29. really hate the C idea that a string is an array of characters, and that the  
  30. compiler doesn't have any concept of what to do with it.
  31.  
  32. > Until then things (tm) look soooo much prettier in C++.
  33.  
  34. Well, the above looks prettier, that doesn't mean that all C++ code looks  
  35. prettier.
  36.  
  37. > (BTW, where is that multiple inheritance in Obj-C???)
  38.  
  39. Seems to me that more people have hung themselves trying to use multiple  
  40. inheritance in C++ than have really missed multiple inheritance in Objective  
  41. C.  In any case, that ignores the issue mentioned in the paper.  With  
  42. everyone jumping to have C++ as "the OOP language", *all* other OOP  
  43. languages will be stifled.  I'll grant that Objective C isn't the ultimate  
  44. OOP language, but that doesn't mean that C++ *is*.
  45.  
  46. (from what I know of things, which is unquestionably limited, I think I'd  
  47. favor something more like Modula-3 myself.  But then, I don't know things  
  48. like Smalltalk at all)
  49.  
  50. I really REALLY don't mean to encourage a religious war over languages, but  
  51. I hate *anyone* quoting a 3-line program and saying "See, this program  
  52. proves that everything in language X is better than everything in language  
  53. Y".  You can't intelligently compare computer languages based on a tiny  
  54. snippet of code.
  55.  
  56. --
  57. Garance Alistair Drosehn     =     gad@eclipse.its.rpi.edu
  58. ITS Systems Programmer            (handles NeXT-type mail)
  59. Rensselaer Polytechnic Institute;           Troy NY    USA
  60.