Re: Scope of implicit none
- From: Gary Scott <garylscott@xxxxxxxxxxxxx>
- Date: Wed, 24 Sep 2008 07:38:08 -0500
Ron Shepard wrote:
In article <1inptgt.1ymor521v746f4N%nospam@xxxxxxxxxxxxx>,incompatible change, at least for fixed-source code.
nospam@xxxxxxxxxxxxx (Richard Maine) wrote:
Probably the single biggest blunder of the F90 committee was not to
make implicit none the default behavior.
It would have invalidated millions of lines of code, if they had.
So I guess there was little choice in that matter.
Sure there were other choices. One could also make arguments against
them, but to think that invalidating existing code would be the only way
to do this shows insufficient imagination.
I think compatibility with f77 was too important. If you remember, IMPLICIT NONE was not even allowed in f77, it would have been strange indeed to make something that was not even allowed in the current language the default in the next revision. That choice would not only have invalided those millions of lines of fixed-source code, but once the code was changed to make the IMPLICIT NONE explicit, it would have no longer been compatible with f77. Of course, because of the decade-long delay in approving the f90 standard (first by ISO, and only later by ANSI), many compilers did support IMPLICIT NONE as an extension, but as far as the language standardization process was concerned it would have been an
I don't think I would have suggested it for fixed form source, only free form which was new at F90.
$.02 -Ron Shepard
--
Gary Scott
mailto:garylscott@sbcglobal dot net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
If you want to do the impossible, don't hire an expert because he knows it can't be done.
-- Henry Ford
.
- References:
- Scope of implicit none
- From: Arjen Markus
- Re: Scope of implicit none
- From: Cirilo S. Bresolin
- Re: Scope of implicit none
- From: Richard Maine
- Re: Scope of implicit none
- From: Arjen Markus
- Re: Scope of implicit none
- From: GaryScott
- Re: Scope of implicit none
- From: Arjen Markus
- Re: Scope of implicit none
- From: Richard Maine
- Re: Scope of implicit none
- From: Ron Shepard
- Scope of implicit none
- Prev by Date: Re: dimensions and segmentation fault problem
- Next by Date: Re: Praise for Gfortran (finally)
- Previous by thread: Re: Scope of implicit none
- Next by thread: Re: Scope of implicit none
- Index(es):
Relevant Pages
|
|