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: TP6 private
- Message-ID: <11183@vice.ICO.TEK.COM>
- Date: 21 Jan 93 16:28:55 GMT
- References: <11172@vice.ICO.TEK.COM> <1993Jan20.225432.12514@beaver.cs.washington.edu>
- Organization: Tektronix, Inc., Beaverton, OR.
- Lines: 27
-
- In article <1993Jan20.225432.12514@beaver.cs.washington.edu> andrewb@lynx.cs.washington.edu (Andrew Berg) writes:
- >
- >What is the difference between Operator overloading and function overloading,
- >from a usefulness point of view? I think that function overloading is just
- >as important as operators.
-
- The difference is having to write things like complexc := complexa
- + complexb instead of complexc := cadd(complexa,complexb).
-
- Normal algebraic equations for well defined operations on various
- non-atomic data types in Pascal. I can dream, can't I?
-
- BTW, I do like function overloading too, but could live without it
- in a pinch.
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- Bob Beauchaine bobbe@vice.ICO.TEK.COM
-
- "Look, I tried the cat experiment. On the third trial, the cat was
- dead. On each of the subsequent 413 trials, it remained dead. Am I
- doing something wrong?"
- James Nicoll
-
- Q. How many Heisenbergs does it take to screw in a light bulb?
- A. If you know the number, you don't know where the light bulb is!
-
-