Re: What can be done in FORTRAN that cannot be done in C/C++?

From: Catherine Rees Lay (spamtrap_at_polyhedron.org.uk)
Date: 06/30/04


Date: Wed, 30 Jun 2004 09:57:22 +0100

In article <12796de5.0406291956.4bd1dfac@posting.google.com>, Marco A.
Cruz Q. <macruzq@todito.com> writes
>Of course I do not want flame wars! Simply, after having written
>programs in several languages, I cannot find a reason to keep
>programming in FORTRAN (which I like very much). I can do a matrix
>inverse in C/C++or even in Qbasic (compiled). And with the today's
>processors, this can be done very reliably. So it comes the question:
>What is REALLY FORTRAN good at? Everything can be done in C/C++! Give
>me a task that rather MUST be done in FORTRAN
>
>Regards
>
>Marco A. Cruz Quevedo

Keep programming in it because it works for you! That's the only reason
that matters. You can do a matrix inverse in any language you like. Many
(including Fortran) are good at it. There is no task that must be done
in Fortran. There is no task that must be done in C++. There is no task
that must be done in Qbasic. Pick the one that suits you.

Why do you feel you need a reason to keep programming in Fortran? Ask
rather, what your reason is to switch to C++. "Because it's possible to
rewrite my Fortran code using it" doesn't seem like a very good one to
me.

Catherine.

-- 
Catherine Rees Lay
To email me, use my first name in front of the "at".


Relevant Pages

  • Re: Fortran now in the Great Language Shootout
    ... > representative of how Fortran compares to the other programming ... > languages than the current naive implementation in multiple languages. ...
    (comp.lang.fortran)
  • Re: Ideal Fortran
    ... I'm not familiar with the latest changes in fortran syntax so ... languages up through the 80's. ... so some programming mistakes would be ...
    (comp.lang.fortran)
  • Re: IF DEAD, GOTO 10-3-39
    ... No one would do text parsing in FORTRAN given the choice. ... As having labels implies that they are going to be used (for dreaded goto statements), I'd have to say they have not survived, aside from being a dirty little secret that some languages have but you are never supposed to use. ... The fact is that general use of GOTOs is one of the most difficult programming constructs to trace and determine "programmer's intent", making debugging and long-term code maintenance very difficult. ...
    (rec.sport.football.college)
  • Re: A question on Newtons Method
    ... > Jon Harrop wrote: ... >> archaic theoretical foundation, other languages aren't. ... >> forced to use old code, I see no reason to use Fortran. ... > repository there's every reason to join Fortran literacy club. ...
    (sci.math.num-analysis)
  • Re: IF DEAD, GOTO 10-3-39
    ... No one would do text parsing in FORTRAN given the choice. ... As having labels implies that they are going to be used (for dreaded goto statements), I'd have to say they have not survived, aside from being a dirty little secret that some languages have but you are never supposed to use. ... The fact is that general use of GOTOs is one of the most difficult programming constructs to trace and determine "programmer's intent", making debugging and long-term code maintenance very difficult. ...
    (rec.sport.football.college)