Which Fortran version to learn

  • Context: Fortran 
  • Thread starter Thread starter Winzer
  • Start date Start date
  • Tags Tags
    Fortran
Click For Summary

Discussion Overview

The discussion centers around which version of Fortran to learn, particularly for computational applications in physics and interfacing with Python. Participants explore various versions of Fortran, including 77, 90, and 95, and their respective advantages and disadvantages.

Discussion Character

  • Debate/contested

Main Points Raised

  • One participant expresses a desire to learn Fortran and asks for recommendations on which version to choose, specifically for physics computation and Python interfacing.
  • Another participant questions the reasonableness of the request and seeks recommendations among the versions 77, 90, and 95, asking for justifications for any suggestions.
  • A different participant suggests that starting with Fortran 77 may be beneficial, citing that newer versions have more sophisticated features, though they question the accuracy of this claim.
  • Another participant argues against starting with Fortran 77, advocating for Fortran 90 instead due to its introduction of object-oriented programming and expressing concerns about the difficulties associated with debugging Fortran 77 code.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which version of Fortran is best to learn, with differing opinions on whether to start with Fortran 77 or Fortran 90.

Contextual Notes

Participants express varying assumptions about the learning curve associated with different Fortran versions and the implications of using older programming practices.

Winzer
Messages
597
Reaction score
0
I have decided to learn Fortran over the summer. However there are various versions out there.
Which version would you recommend learning? I will be using Fortran for computation in physics
primarily. I will also be interfacing Python and Fortran together.
 
Technology news on Phys.org
This is not an unreasonable request is it?
Given the fortran versions: 77,90,95... which one would you recommmend?
Why would you recommend that particular version over any other?
 
I have just read that it easiest to start with fortran 77, then to work my way up from there.
The reason being that the newer versions have more sophisticated packages, etc.
Is this accurate?
 
I would say that there is no reason to start with anything older than Fortran 90. Fortran 90 starting going towards object-oriented programming, and quite frankly, if you try to debug anything written in F77, you'll quickly find yourself pulling your hair out.

Common blocks and implicit variable declaration will start you down a path you don't want to go.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 62 ·
3
Replies
62
Views
14K
Replies
16
Views
3K
  • · Replies 75 ·
3
Replies
75
Views
18K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K