<[log in to unmask]> wrote:
> IMHO the simplest and most important of the conversions are:
> 1. conversion to free form source input.
> 2. wrapping the main program around the subroutines and functions,
> (with the help of the CONTAINs statement).
> This approach requires a minimum of effort, and is unlikely to introduce
> new bugs (but note that any conversion to the modern form
> is likely to find pre-existing bugs)
> The above checks subroutine interfaces and may pick up some
> typos in the original code.
Hmmm, let me see. My program consists of 3683 subroutines and functions,
in addition to the main program, occupying 330623 lines. That doesn't
count the 5401 lines in 70 other procedures from a third-party library.
I suspect my compiler will choke on it. I suspect my editor will choke
on it, too. Even if it doesn't, I bet it would be intolerably slow to
edit it. Then there's the cost of maintenance, especially when the third-
party library vendor sends me updates. I haven't bothered to try out
this cool idea.
--
Van Snyder | What fraction of Americans believe
[log in to unmask] | Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or disapproved
by JPL, CalTech, NASA, Sean O'Keefe, George Bush, the Pope, or anybody else.
|