from Hacker News

FORTRAN subroutine for rotation of three-dimensional line figures (1970) [pdf]

by dylanrw on 4/17/15, 7:14 PM with 5 comments

  • by thearn4 on 4/17/15, 8:19 PM

    It's nice to see a Fortran code this old factored and presented properly as a subroutine! Other legacy Fotran codes are not very modular (at least this has been my experience).
  • by walshemj on 4/17/15, 9:40 PM

    An example of really bad use of statement labels - the convention I was taught was to use 7000 and 8000 for input and output (format statements) and to use 6000 for goto's

    Start at 6000 and go up in increments of 10 or 100 and to use 6999 for the last label in a routine.

    so when you wanted to exist a subroutine or function you would use GOTO 6999.