Hacker News new | ask | show | jobs
by spapin 3918 days ago
One problem I find in fortran is that subroutines quickly have a lot of arguments. In this example, glint have 30ish. I have seen fortran subroutines in the aerospace industry with more than 100 arguments.
1 comments

Oh god. Reminds me of simulated processor pipeline stages (VHDL, etc.), which tend of have a huge amount of state.

I'm no Fortran expert. Were there no composite types (i.e., structures or tuples) at the time or other reasons to do that (i.e., code testing tools)?

Edit: Last q: Yes, as a vendor extension

https://gcc.gnu.org/onlinedocs/gfortran/STRUCTURE-and-RECORD...