News for hackers. Stuff that matters.
[dead]
Re:Fortran adds conditional expressions by dang on Thursday July 01, 2021 @02:16PM (#27702433)
Ok, but please don't post unsubstantive comments to HN.
Re:Fortran adds conditional expressions by Bostonian on Thursday July 01, 2021 @02:19PM (#27702471)
Often such blanket statements are made by people who know little about the current state of the language they are denouncing. I am happy to use modern Fortran.
Re:Fortran adds conditional expressions by tored on Thursday July 01, 2021 @03:34PM (#27703519)
Honest question, why should you use FORTRAN?

Does FORTRAN have any traction outside of scientific computation?

Re:Fortran adds conditional expressions by leephillips on Thursday July 01, 2021 @06:22PM (#27705615)
I see this type of comment often when Fortran is mentioned, and it puzzles me. What are computers for? Mainly for games and websites, with scientific computation an obscure niche? I don’t think so. Computers are for modeling the climate, predicting the weather, simulating the economy, calculating the merger of galaxies, and designing airplanes. For any of these, the high-performing languages are Fortran, Julia, C, and C++. That’s it. Lisp, Erlang, and Smalltalk are wonderful languages, but not for this.
Re:Fortran adds conditional expressions by Jtsummers on Thursday July 01, 2021 @03:46PM (#27703696)
Not really. But if you’re doing scientific computation it’s still a really good language.
Re:Fortran adds conditional expressions by gnufx on Thursday July 01, 2021 @05:20PM (#27705022)
You shouldn't -- it's decades old. Use Fortran, which is how it's written now (though your conforming FORTRAN77 will doubtless still compile).
Re:Fortran adds conditional expressions by tored on Thursday July 01, 2021 @05:33PM (#27705157)
Yes, it is my phone that autocorrects to capital letters and I can’t bother to fix it.
Re:Fortran adds conditional expressions by ngcc_hk on Thursday July 01, 2021 @07:00PM (#27705954)
When I do Astro app I found that you want accurate calculation you need fortran. Science spill over to other areas. In fact if you check around many languages and libraries use fortran for say matrix and many other manipulation. You use matrix nearly everywhere.

Btw, My first lecture in 1979 on computer science the lecturer asked exactly this question. What is the use? Why Fortean not dead by now? Why should anyone learn fortran … ba la ba la.

No chance but I wish he had taught me lisp and c instead of Basic … even if not fortran.

Re:Fortran adds conditional expressions by kergonath on Friday July 02, 2021 @01:01AM (#27707953)
It hasn’t been FORTRAN for about 30 years now.
Re:Fortran adds conditional expressions by neatze on Thursday July 01, 2021 @02:20PM (#27702490)
What makes you say this ?
Re:Fortran adds conditional expressions by jacobwilliamroy on Thursday July 01, 2021 @02:59PM (#27703048)
How am I supposed to aim my guns without fortan?
Re:Fortran adds conditional expressions by colejohnson66 on Thursday July 01, 2021 @07:58PM (#27706390)
I’d assume with C++ so they become footguns
Re:Fortran adds conditional expressions by bigbillheck on Thursday July 01, 2021 @02:19PM (#27702484)
Fortran as a general-purpose language has been dead for decades. If you don't do numerics, you can freely ignore it.
Re:Fortran adds conditional expressions by rendall on Thursday July 01, 2021 @02:43PM (#27702816)
What do you mean by numerics?
Re:Fortran adds conditional expressions by jon_adler on Thursday July 01, 2021 @02:52PM (#27702948)
Fortean is still very popular in the scientific community for numeric processing. For example, many nuclear simulations run on fortran.
Re:Fortran adds conditional expressions by bigbillheck on Thursday July 01, 2021 @03:19PM (#27703315)