Re: FORTRAN common blocks
This seems very reasonable. I get the impression that C dominates in a
commercial environment also, which makes it an inevitable choice for
undergraduate courses.
Richard James.
On Mon, 16 Jan 2006, Kevin B. McCarty wrote:
> On 1/16/06, Richard James <raj@ast.man.ac.uk> wrote:
>
> > One problem I have never been able to resolve - I accept that C is
> > better for systems programming, but why on earth does anyone use it for
> > scientific code? Can somebody enlighten me?
>
> I'm sure that it's just a matter of what one is used to. I learned C
> and C++ in college, wrote a number of projects in both languages, but
> never got around to learning any FORTRAN until I became the Debian
> maintainer of Cernlib. As a result I find it a lot easier to write
> (for instance) C++ code for ROOT and Geant 4 than FORTRAN code for
> Geant 3 or EGSnrc.
>
> I have to add that having my first large-scale exposure to FORTRAN
> being the spaghetti code in Cernlib didn't endear the language to me
> any. :-)
>
> regards,
>
> --
> Kevin B. McCarty <kmccarty@princeton.edu> Physics Department
> WWW: http://www.princeton.edu/~kmccarty/ Princeton University
> GPG: public key ID 4F83C751 Princeton, NJ 08544
>
>
Reply to: