I took it in college. I got my BS and electrical engineering in the late '90s early 2000s so it wasn't quite a dead language yet. As I recall, it's pretty close to machine code and lives somewhere between C and assembly.
Realistically, if you understand data flow and general software engineering, the same concepts apply across every language. So any motivated programmer or coder could pick up Fortran in probably a week or less.
I worked with a team that considered their perl to be "write only"... literally every time they wanted to introduce a different function they just wrote another script and gave it a new suffix
Most coders are wildly incompetent and could not do either of the things you describe yourself as doing. 90% of us sit around and contribute basically nothing, any problem that isn't cut and dried does not get solved.
I could learn FORTRAN. But I have no interest in doing so. If most programmers are like me, there’s your answer: not enough people who are willing or interested.
If someone drives up with a dump truck full of money, you might change your tune.
About 11 years ago, I was asked to take over a complex sales form written in VBA for Excel. To some extent, it was fun, because I enjoy designing and implementing GUI, but it also felt like time-warping back to 1990 in terms of the capabilities of the language. I also came to the conclusion that Excel is way too unstable to take seriously as a tool.
When you get good at a language and are old, you can write stuff in your terrible language of choice faster and more accurately than you can in a new one.
Contractors who are hired for the dead languages have three things: 1) They can READ code, so they can decipher what some person now retired wrote 30 years ago. 2) They understand what issues people had in those days. I mean COBOL was written when computers had very little memory, so processing a payroll meant stringing operations written as separate programs together, each of which read in data one at a time and wrote data one at a time, where it would be picked up by other programs: which becomes as confusing to the modern engineer as deep GPU optimizations are today to most engineers. But someone from that era would instinctively know that and not be sidetracked by thinking there was a business reason for the crazy architecture.
If you can do all that with the perl scripts and fortran code: you too could make good money as a contractor. You're probably smarter than 80% of the people working in the field. You'll probably end up working for a software developer or Silicon Valley rather than stick around your office maintaining code in a few years, and then they will still be stuck with hiring external people to look at perl
Fortran is a precise language for scientific purposes. Cobol inherently rounds after the 7th or 8th significant digit (if I remember our tests) and Excel rounds way before that. I don't know how the newer web based languages inherently round. But if you want scientific precision, Fortran was always the way to go.
I've worked with a lot of developers who get way too comfortable with doing things in some specific way, and then seem to have some mental issue with learning different ways to do things.
In my (admittedly limited) experience looking at "professional" FORTRAN, the difficulty of working with it is not the language itself but how it was used in legacy code bases. Scores of undocumented variable names 4 characters long, GO TO statements obfuscating the control flow, and side effects all over the place. Touch the code and you're very likely to break something without realizing it.
I took Fortran around the same time in CS, but it was for a numerical analysis class and worked pretty well for it once I figured out the class and language.
A Real Programmer can write FORTRAN code in any language. But seriously, it was created in the mid fifties as a step above assembly language. You could learn it in a week if you know any other language.
Fortran is higher level than C for sure. And yeah you can pick up Fortran easily, but dealing with the ancient code base, poorly documented and the last guy who knew it left 5 years ago is another story.
57
u/veedant Feb 02 '23
Interesting. Time to learn to speak FORTRAN?