Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Fortran

Fortran

Scheduled Pinned Locked Moved The Lounge
databasecomannouncement
39 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Amarnath S

    Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

    D Offline
    D Offline
    David ONeil
    wrote on last edited by
    #15

    When I learned C I forgot Fortran, and was happy!

    Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

    1 Reply Last reply
    0
    • A Amarnath S

      Maybe they can become trainers, coaches. Income after retirement.

      T Offline
      T Offline
      trønderen
      wrote on last edited by
      #16

      The problem with that is, whoever of the old gurus said (in the 1970s): 'I don't know what languages will look like in year 2000, but they will be called Fortran!' Fortran 2023 has very little to do with the Fortran I learned in my studies in 1978-83. (Fortran was limited to the first two years.) I do not recognize today's Fortran as anything even vaguely resembling what I learned back then. If I were to teach it, I would first have to learn it as a new language. Is GOTO at all a relevant statement in modern Fortran?

      Religious freedom is the freedom to say that two plus two make five.

      A 1 Reply Last reply
      0
      • A Amarnath S

        Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

        E Offline
        E Offline
        englebart
        wrote on last edited by
        #17

        I had a class in C and FORTRAN in 87/88. I already knew FORTRAN, and I took it mostly for the C. The teacher tortured us by assigning programs to be solved in the language least suited to solve the problem. Write some numerical algorithm in C( not FORTRAN ). Write some parsing and word counting code in FORTRAN(not C) Kind of proved the point that you can solve any problem with any language.

        A 1 Reply Last reply
        0
        • T trønderen

          The problem with that is, whoever of the old gurus said (in the 1970s): 'I don't know what languages will look like in year 2000, but they will be called Fortran!' Fortran 2023 has very little to do with the Fortran I learned in my studies in 1978-83. (Fortran was limited to the first two years.) I do not recognize today's Fortran as anything even vaguely resembling what I learned back then. If I were to teach it, I would first have to learn it as a new language. Is GOTO at all a relevant statement in modern Fortran?

          Religious freedom is the freedom to say that two plus two make five.

          A Offline
          A Offline
          Amarnath S
          wrote on last edited by
          #18

          Agree. As I remember, FORTRAN 90, which I came across in the late 90's had the concept of Pointers. Today's FORTRAN may even have the concept of Classes. And the GOTO may be like "Hey GOTO, GO AWAY FOREVER".

          1 Reply Last reply
          0
          • E englebart

            I had a class in C and FORTRAN in 87/88. I already knew FORTRAN, and I took it mostly for the C. The teacher tortured us by assigning programs to be solved in the language least suited to solve the problem. Write some numerical algorithm in C( not FORTRAN ). Write some parsing and word counting code in FORTRAN(not C) Kind of proved the point that you can solve any problem with any language.

            A Offline
            A Offline
            Amarnath S
            wrote on last edited by
            #19

            Can we compare this with filling a round hole with a square peg? Only that the hole and peg are made of somewhat flexible rubbery material.

            1 Reply Last reply
            0
            • A Amarnath S

              Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

              C Offline
              C Offline
              Chris Nicolatos
              wrote on last edited by
              #20

              1971 1st year university Computer Science - FORTRAN IV on an IBM 360 with the WATFOR compiler which later became WATFIV. Punched cards and IBM golfball terminals. Then onto IBM 370 then onto CDC 7000 series all with FORTRAN IV. All this mixed with COBOL, PL/1 and assembler. Currently working with C# and thinking about learning Angular

              1 Reply Last reply
              0
              • pkfoxP pkfox

                Nothing wrong with that Richard :)

                In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #21

                Very true.

                1 Reply Last reply
                0
                • A Amarnath S

                  Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

                  M Offline
                  M Offline
                  MK57
                  wrote on last edited by
                  #22

                  I thought I'd need a card puncher to write true Fortran ... (remembering that dangerous type of stack)

                  R A 2 Replies Last reply
                  0
                  • A Amarnath S

                    Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

                    R Offline
                    R Offline
                    Robert Chafer
                    wrote on last edited by
                    #23

                    I remember having to modify someone's C who wrote mainly in Fortran. It was basically Fortran with C syntax. You can write Fortran in any language.

                    A C 2 Replies Last reply
                    0
                    • M MK57

                      I thought I'd need a card puncher to write true Fortran ... (remembering that dangerous type of stack)

                      R Offline
                      R Offline
                      Robert Chafer
                      wrote on last edited by
                      #24

                      I have been writing Fortran since 1989 and have never used a punched card (or tape)

                      M S 2 Replies Last reply
                      0
                      • R Robert Chafer

                        I have been writing Fortran since 1989 and have never used a punched card (or tape)

                        M Offline
                        M Offline
                        MK57
                        wrote on last edited by
                        #25

                        Around 1980 we had to use the puncher in my first Fortran class in the university. Later I bought a Z80-PC with an 8" floppy - what a progress! :-)

                        1 Reply Last reply
                        0
                        • R Robert Chafer

                          I remember having to modify someone's C who wrote mainly in Fortran. It was basically Fortran with C syntax. You can write Fortran in any language.

                          A Offline
                          A Offline
                          Amarnath S
                          wrote on last edited by
                          #26

                          I still do that. I tend to write Fortran in C# and JavaScript. :)

                          1 Reply Last reply
                          0
                          • M MK57

                            I thought I'd need a card puncher to write true Fortran ... (remembering that dangerous type of stack)

                            A Offline
                            A Offline
                            Amarnath S
                            wrote on last edited by
                            #27

                            I remember, when I studied at the Indian Institute of Science, in Bengaluru, India, in the early 90's, our lab had a big stack of (unpunched) punch cards. I have kept a few of them as a souvenir.

                            1 Reply Last reply
                            0
                            • T trønderen

                              Amarnath S wrote:

                              GOTO, which was indeed a saviour in those days

                              Not in 1987! Maybe it was true in 1967, although we had had Algol since 1960 (or 1958 for early blomers). In 1968, we had the first major revision of Algol. Pascal arrived in 1970, Modula in 1975, C++ in 1985. Dijkstra's "Go to statement considered harmful" is dated 1968. If you considered GOTO 'a saviour' in 1987, you were either badly uninformed or extremely slow in adopting modern programming trends.

                              Religious freedom is the freedom to say that two plus two make five.

                              P Offline
                              P Offline
                              Peter Fletcher 2024
                              wrote on last edited by
                              #28

                              It rather depends whether you are talking about the 'vanilla' GOTO statement. which exists, in some form, in most languages, and at least arguably has a limited number of valid uses, or Fortran's 'Computed GOTO', which I can only recall using once in my life as a Fortran programmer, and which is probably one of the most bug-prone programming constructs ever devised!

                              1 Reply Last reply
                              0
                              • T trønderen

                                Amarnath S wrote:

                                GOTO, which was indeed a saviour in those days

                                Not in 1987! Maybe it was true in 1967, although we had had Algol since 1960 (or 1958 for early blomers). In 1968, we had the first major revision of Algol. Pascal arrived in 1970, Modula in 1975, C++ in 1985. Dijkstra's "Go to statement considered harmful" is dated 1968. If you considered GOTO 'a saviour' in 1987, you were either badly uninformed or extremely slow in adopting modern programming trends.

                                Religious freedom is the freedom to say that two plus two make five.

                                M Offline
                                M Offline
                                Mark Meuer
                                wrote on last edited by
                                #29

                                One of my Computer Science professors back in the late '80s had the memorable quote: "Be wary of anyone who refers to Fortran77 as 'the new Fortran'." :cool:

                                1 Reply Last reply
                                0
                                • A Amarnath S

                                  Not to forget the now infamous GOTO, which was indeed a saviour in those days.

                                  S Offline
                                  S Offline
                                  StanThomas
                                  wrote on last edited by
                                  #30

                                  During my student days, we wrote a spoof Fortran language proposal to add the COMEFROM statement to replace the much derrided GOTO

                                  T 1 Reply Last reply
                                  0
                                  • R Robert Chafer

                                    I have been writing Fortran since 1989 and have never used a punched card (or tape)

                                    S Offline
                                    S Offline
                                    StanThomas
                                    wrote on last edited by
                                    #31

                                    IBM 026 card punch machines and Olivetti teletypes producing blue paper tape where my starting point. Still have some original, unpunched, Fortran Statement cards kept as a souvenir.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      The joy of fixed column coding. :-D

                                      R Offline
                                      R Offline
                                      Ralf Quint
                                      wrote on last edited by
                                      #32

                                      Seems you are not quite up to date if you are making such statements. And thus don't know the difference between FORTRAN and Fortran... ;P

                                      1 Reply Last reply
                                      0
                                      • R Robert Chafer

                                        I remember having to modify someone's C who wrote mainly in Fortran. It was basically Fortran with C syntax. You can write Fortran in any language.

                                        C Offline
                                        C Offline
                                        charlieg
                                        wrote on last edited by
                                        #33

                                        I'm not aware of an arithmetic IF in C :)

                                        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                                        T 1 Reply Last reply
                                        0
                                        • A Amarnath S

                                          Perhaps, for the first time in this millennium, FORTRAN comes in the Top 10 [TIOBE Index - TIOBE](https://www.tiobe.com/tiobe-index/) [^] As a side note, my 'mother-tongue' is FORTRAN, being the first computer language i learnt in 1987. Hope this news isn't a repeat.

                                          C Offline
                                          C Offline
                                          charlieg
                                          wrote on last edited by
                                          #34

                                          "millennium" A little bold there :). But anyway, I've always been astonished at the amount of code that is our there written in "legacy" languages that run the world. Cobol, FORTRAN, PL1, God forbid Pascal. I'm in the process this year of proposing a system re-write of a FORTAN manufacturing system before everybody that knows about it is dead, including myself. I dug into this 10 years back or so, and I realized that 40% of the code is user input, 20% is actually processing data, and the last 40% is report generation. Moving this to a modern architecture will likely reduce the code base by 75%. Meanwhile this company has spent millions trying to create an equivalent system. I'm shooting for retirement income :)

                                          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups