home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!darwin.sura.net!spool.mu.edu!agate!agate!matt
- From: matt@physics16.berkeley.edu (Matt Austern)
- Newsgroups: comp.lang.c++
- Subject: Re: The fate of my exponentiation operator proposal
- Date: 17 Nov 92 13:24:03
- Organization: Lawrence Berkeley Laboratory (Theoretical Physics Group)
- Lines: 45
- Message-ID: <MATT.92Nov17132404@physics16.berkeley.edu>
- References: <MATT.92Nov12234242@physics16.berkeley.edu> <1992Nov17.104305.24116@jyu.fi>
- Reply-To: matt@physics.berkeley.edu
- NNTP-Posting-Host: physics16.berkeley.edu
- In-reply-to: sakkinen@jyu.fi's message of Tue, 17 Nov 1992 10:43:05 GMT
-
- In article <1992Nov17.104305.24116@jyu.fi> sakkinen@jyu.fi (Markku Sakkinen) writes:
-
- > >I am sorry to see this proposal rejected because I still believe that,
- > >of the currently popular languages, C++ is probably the best suited
- > >for the type of scientific programs that I write. The absence of an
- > >exponentiation operator, however, will make it harder for me to
- > >persuade my colleagues to that point of view."
- >
- > One more reason for you to evaluate the other language alternatives
- > in earnest, I suggest. Perhaps your colleagues have even other grounds
- > than pure stubbornness to favour some other languages.
-
- Perhaps. Certainly one intelligent reason is that it is foolish and
- expensive to either abandon or rewrite large bodies of existing and
- working code. I imagine that I'll still be doing some of my
- programming in Fortran for many years to come.
-
- For new programs that are being written today, though, I do not
- believe that Fortran is the best language for scientific programming.
- I believe that object-oriented programming is a genuine advance on
- previous methods, and I believe that while it is possible to achieve
- some of its benefits using a non-object-oriented language (e.g., C,
- Ada, or yes, even Fortran), this involves discipline on the part of
- the programmer that is hard to maintain over the scope of a large
- project, and that the resulting program is likely to be more poorly
- structured and less clear than a program written in a language
- designed with object-oriented programming in mind.
-
- So I am certainly willing to look at other languages than C++; it's
- foolish to become emotionally attached to any particular programming
- language. At this point, however, I would prefer to look at languages
- which were designed for object-oriented programming. And, obviously,
- I would also prefer languages which are widely available on a variety
- of platforms, and which have reasonably efficient implementations.
- These requirements narrow the field quite a bit.
-
- (Despite the subject line of this post, of course, this has almost
- nothing to do with an exponentiation operator. That really is a minor
- issue compared to the question of whether or not to use an
- object-oriented language.)
- --
- Matthew Austern Just keep yelling until you attract a
- (510) 644-2618 crowd, then a constituency, a movement, a
- austern@lbl.bitnet faction, an army! If you don't have any
- matt@physics.berkeley.edu solutions, become a part of the problem!
-