Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

F77/C++

Name: Deadpool 2010-05-10 4:12

I read this paper:
http://www.uop.edu.jo/download/PdfCourses/Cplus/cppf77.pdf

And it was published TIME ago, so i was wondering, is there any point in using FORTRAN for the complex math in a program? (for example in a physics engine or a graphics modeller)

Opinions please chaps, and anyone mixed anything else with C++?

Name: Anonymous 2010-05-11 13:08

>>11
I mostly agreed with those comments until I hit the last part:
  f) FORTRAN is designed to make numerical computation easy, robust
    and well-defined:

       1) The order of evaluation of arithmetical expressions
         is defined precisely, and can be controlled with
          parentheses.

Oh-kay.

       2) The implicit type declaration feature saves time/typing
          (however it makes your program vulnerable to annoying
          and hard to detect bugs).

Mhm.

       3) Case insensitivity eliminates bugs due to 'miscased'
          identifiers.

What?

       4) The lack of reserved words in the language gives the
          programmer complete freedom to choose identifiers.         

Oh boy. This get's better and better.

       5) The one statement per line principle (of course
          continuation lines are allowed with a special syntax)
          makes programs more robust.

Keeps getting better and better...

       6) Added blanks (space characters) are insignificant
          (except in character constants) this also contributes
          to the robustness of FORTRAN programs.

Wait till my boss hears this. I shudder when I imagine the resulting coding style guidelines.

       7) Linking with the mathematical library doesn't require
          any compiler option (in C you to have to use "-lm").

Fuck this shit.

This part completely destroyed any semblance of credibility of this guy's drivel.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List