On 1/16/06, Richard James <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/ Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544

