3 ms·
For those wondering why it's used, here's a write-up I found on Eric Raymond's blog comparing Fortran and C: http://www.ibiblio.org/pub/languages/fortran/ch1-2
by nickpsecurity 10y ago
For those wondering why it's used, here's a write-up I found on Eric Raymond's blog comparing Fortran and C:
http://www.ibiblio.org/pub/languages/fortran/ch1-2.html http://www.ibiblio.org/pub/languages/fortran/ch1-2.html
Some comparisons are dated. However, I think the older variants still have advantages in readability, more clear semantics, semantics closer to algorithm itself (esp mathematical functions), less guessing by compiler for optimizations, and maybe a few others. Those I listed seem to still be advantages over C in general or as it's commonly used.
- Trombone12 10y agoAlso of note is that the implicit typing system of Fortran is held up as an advantage (although a bit reluctantly)