Other languages with such features have to write endless pages of guidance and warnings for people to avoid such patterns (See here and here for examples). Fortran appears to prevent it altogether if the potential damages outweigh the benefits. And that’s what makes Fortran fast, with no hassles and no warnings manual. Over the years, I have seen many (frequently unfair and unjustified) criticisms of the Fortran language. Still, almost every time I dug into the issues further, I realized the standard committee had excellent reasons to design things the way they are. That does not mean everything is perfect. In particular, the patchy and selective style of enhancements to the language, which FortranFan also mentioned earlier, is, has been, and will remain quite detrimental to the language. That’s my opinion as a frequent user, from the user perspective.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Update on Fortran Templates | 18 | 1210 | July 29, 2022 | |
Some other use of `{}` | 10 | 429 | July 31, 2024 | |
Polymorphic array in a derived type | 5 | 747 | March 22, 2022 | |
Traits, Generics, and modern-day OO for Fortran | 85 | 2413 | October 3, 2024 | |
Traits/interfaces in Fortran?
|
21 | 1602 | September 14, 2023 |