home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!torn!nott!cunews!revcan!software.mitel.com!kim!kim
- From: kim@Software.Mitel.COM (Kim Letkeman)
- Newsgroups: comp.lang.pascal
- Subject: Re: BP/TP OOP is missing something...
- Message-ID: <KIM.92Nov16125141@kim.Software.Mitel.COM>
- Date: 16 Nov 92 17:51:41 GMT
- References: <1992Nov14.140524.720@ualr.edu>
- Sender: kim@Software.Mitel.COM
- Organization: MITEL Public Switching, Kanata, Ontario, Canada
- Lines: 36
- In-reply-to: choate@acs.harding.edu's message of 14 Nov 92 19:05:24 GMT
-
- In article <1992Nov14.140524.720@ualr.edu> choate@acs.harding.edu (Brad S. Choate) writes:
-
- | When will Borland implement operator overloading for Pascal OOP???
- | They boast that their product is a good way to learn OOP, but
- | provide no way of teaching operator overloading! I dare say they
- | should not call it "professional" until then. IMHO, for OOP, stick
- | with C++ until Borland gets their act together (correction...
- | SERIOUS OOP).
- |
- | Don't get me wrong... I love Pascal, but I hate that it doesn't
- | benefit from all the goodies C++ has gotten over the years!
-
- Operator overloading is just one tool in the object oriented toolbox.
- One very notable book on the subject "Object Oriented Software
- Construction" by Bertrand Meyer mentions it in passing as: "no more
- than a syntactic facility which relieves programmers from having to
- invent different names for different implementations of an operation
- and, in essence, places the burden on the compiler." See page 39.
-
- In Lippman's C++ Primer 2nd Edition, the discussion of operator
- overloading begins with a description of the less convenient string
- functions, which are then replaced by more convenient operators.
-
- Nowhere in these two books is any mention made of dire consequences
- should operator overloading not be learned and used. It is a handy
- tool, but not the reason for the existence of OOP, SERIOUS or not.
-
- TPW is as professional as any compiler I've ever seen. My guess is
- that it completely smokes all but the very best C++ compilers in
- overall quality and utility (that is, ability to do useful work.)
-
- I would suggest that you figure out what it is that you really want to
- get out of OOP rather than worrying about this or that missing
- C++ facility in a PASCAL compiler.
- --
- Kim Letkeman kim@Software.Mitel.COM
-