home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky sci.math:11382 comp.lang.misc:3061 comp.lang.fortran:3544 comp.std.c:2621 comp.lang.c:13620
- Newsgroups: sci.math,comp.lang.misc,comp.lang.fortran,comp.std.c,comp.lang.c
- Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!yktnews!prener
- From: prener@watson.ibm.com (Dan Prener)
- Subject: Re: Scientists as Programmers (was Re: Small Language Wanted)
- Sender: news@watson.ibm.com (NNTP News Poster)
- Message-ID: <PRENER.92Sep14014510@prener.watson.ibm.com>
- In-Reply-To: hrubin@pop.stat.purdue.edu's message of 13 Sep 92 18:23:16 GMT
- Date: Mon, 14 Sep 1992 06:45:10 GMT
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- References: <id.I12T.GP4@ferranti.com> <a_rubin.716152347@dn66>
- <MEISSNER.92Sep11164441@curley.osf.org>
- <BuJ4Es.49w@mentor.cc.purdue.edu>
- Nntp-Posting-Host: prener.watson.ibm.com
- Organization: IBM T.J. Watson Research Center, Hawthorne, New York
- Lines: 16
-
-
- In article <BuJ4Es.49w@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
-
- [... deletion ... (topic was obtaining long long product of two longs) ]
-
- > And it still is
- >not quite adequate. One should be able to have the option of overloading
- >the * operator so that if c is long long, and a and b are long, this can
- >be written as c = a * b.
-
- While that could be done, it goes very much against the spirit of most
- languages' expression evaluation, in which a * b has a value that is
- well defined without reference to the context in which it is used, in
- this case the type of the target of the assignment.
- --
- Dan Prener (prener@watson.ibm.com)
-