Article View: comp.sys.next.programmer
Article #2352Re: The Darker Side of C++ (forwarded)
From: Garance A. Drosehn
Date: Tue, 12 Jan 1993 22:47
Date: Tue, 12 Jan 1993 22:47
51 lines
2642 bytes
2642 bytes
bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen) writes: > rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop)) writes: > > [quoting from a paper:] > > >>The worst disadvantage of C++ at the moment is political: accepting > > >>C++ as the standard OO language de facto tends to kill other existing > > >>languages, and stifle the development of a new generation of > > >>essentially better OO languages. > > > > Aaaaaaaaaamen!! > > > > -- > > Ronald Pomeroy [Objective-Cruntime: [Smalltalk runtime]]; > > When I can do this in Obj-C I would be happy (tm): > > String a = "hello", b = " ", c = "world"; > cout << a + b + c + '\n'; I do wish Objective C (and every other language) did handle character strings in a much more reasonable manner (such as the above). I really really hate the C idea that a string is an array of characters, and that the compiler doesn't have any concept of what to do with it. > Until then things (tm) look soooo much prettier in C++. Well, the above looks prettier, that doesn't mean that all C++ code looks prettier. > (BTW, where is that multiple inheritance in Obj-C???) Seems to me that more people have hung themselves trying to use multiple inheritance in C++ than have really missed multiple inheritance in Objective C. In any case, that ignores the issue mentioned in the paper. With everyone jumping to have C++ as "the OOP language", *all* other OOP languages will be stifled. I'll grant that Objective C isn't the ultimate OOP language, but that doesn't mean that C++ *is*. (from what I know of things, which is unquestionably limited, I think I'd favor something more like Modula-3 myself. But then, I don't know things like Smalltalk at all) I really REALLY don't mean to encourage a religious war over languages, but I hate *anyone* quoting a 3-line program and saying "See, this program proves that everything in language X is better than everything in language Y". You can't intelligently compare computer languages based on a tiny snippet of code. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Technical Details
Message-ID:
<m#=3fhn@rpi.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!usenetReferences:
<1iv5ijINN8ba@pith.uoregon.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!usenet From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Subject: Re: The Darker Side of C++ (forwarded) Message-ID: <m#=3fhn@rpi.edu> Nntp-Posting-Host: eclipse.its.rpi.edu References: <1iv5ijINN8ba@pith.uoregon.edu> Date: Tue, 12 Jan 1993 22:47:26 GMT Lines: 51