CS 342 Lecture -*- Outline -*- * Analysis of FORTRAN ** Good points Algebraic notation, precedence Subroutines Optimizing compilers Support for scientific programming ** Bad points fixed format syntax lack of keywords insecurities: (array subscripts, assigned goto) common blocks: source of errors, type violations equivalence: source of type violations implicit declarations non-hierarchical syntax (lack of structured statements) lack of character manipulation facilities ** Improvements later versions *** Fortran 77 structured if statements (if-then-else) (no while loop) more careful definition *** In Fortran 8x (should check on this) modules (user-defined types), case, dynamic arrays, array operations (for vector computers)