home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!vice!bobbe
- From: bobbe@vice.ICO.TEK.COM (Robert Beauchaine)
- Newsgroups: comp.lang.pascal
- Subject: Re: BP/TP OOP is missing something...
- Message-ID: <10793@vice.ICO.TEK.COM>
- Date: 19 Nov 92 05:32:57 GMT
- References: <dmurdoch.282.722020256@mast.queensu.ca> <10773@vice.ICO.TEK.COM> <KIM.92Nov18085152@kim.Software.Mitel.COM>
- Organization: Tektronix, Inc., Beaverton, OR.
- Lines: 48
-
- In article <KIM.92Nov18085152@kim.Software.Mitel.COM> kim@Software.Mitel.COM (Kim Letkeman) writes:
- >In article <10773@vice.ICO.TEK.COM> bobbe@vice.ICO.TEK.COM (Robert Beauchaine) writes:
- >
- >
- >What norm? There lots of competing philosophies and languages and all
- >are quite different and equally main stream based on number of users.
- >And only very few have any garbage collection at all.
-
- I was referring to the TP norm of local variables, not garbage
- collection. But no matter. You're right that garbage collection
- has nothing to do with local allocation/destruction.
-
- >
- >| This is exactly why I like the C++ approach. With automated
- >| construction/destruction, operator overloading, etc, objects are
- >| much more seamlessly integrated into an application as extensions
- >| of the basic data types. Once the class is properly defined, the
- >| programmer never has to consider the objects as anything except
- >| predefined atomic stuctures again.
- >
- >As soon as you allow multiple inheritance and such, you have to
- >potential for a class to break any time a new full build is done. You
- >can only treat objects as unchanging entities if they are relatively
- >trivial. Any complex system is constantly evolving and so are its
- >objects.
-
- I'm not an advocate of multiple inheritance. I think it has many
- uses, but I'm not sure it's essential to OO programming. I can't
- actually say that I've ever needed to resort to it.
-
- >There's no free lunch. C++ does a lot for you, but you assume a lot of
- >other burdens for that pleasure.
-
- No argument. It's the inevitable price you pay for complexity.
- For heavy duty numerical applications like DSP, I use C++
- exclusivly. For just about everything else, I prefer Pascal.
- If Borland added operator and (possibly) function overloading,
- I'd never program in C++ again.
-
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- Bob Beauchaine bobb@vice.ICO.TEK.COM
-
- C: The language that combines the power of assembly language with the
- flexibility of assembly language.
-
- Real friends don't let friends use UNIX.
-