[log in to unmask] wrote:
> Dr Michael Hardy <[log in to unmask]> wrote:
> > > > - every program unit contains IMPLICIT NONE
> > > > - every module starts with PRIVATE
> > > > as a convention/programming style. Pity these two are not defaults.
> > > > I'd like to be able to say "Not just a good idea - it's the LAW!"
> > >
> > > Let me disagree with this widespread point of view.
> > > (...) please, forget unnecessary constraints and especially
> > > the LAWs: we are all adults, not schoolchildren.
>
> Then let me express my public support. Especially on this ``last bit'':
> adults can program safely, and decide by themselves which constraint
> is useful and when.
Being adult has as much to do with the subject at hand as being
adulterous. Since when the adult people don't make mistakes? Any
new definitions of being adult out there that I don't know of?
It's too late now to make IMPLICIT NONE a language default. Just as
it is too late to make PRIVATE the default for modules. But what
might help to resolve this dispute and keeping the opponents at least
half-happy would be some work on standardizing Fortran compilation
environment (or whatever you'd like to call it). What about adding
compiler command line options for things like
- compulsory array bounds runtime checking,
- treating implicit none as the default (or, indeed, the only
allowed state),
- making PRIVATE the default in modules,
- possibly many more features.
Of course, the compilation environmentmeans much more than compiler
command line options, but that discussion has no place in this thread.
Regards,
----------------------------------------------------------------------
Artur Swietanowski mailto:[log in to unmask]
Institut fuer Statistik, Operations Research und Computerverfahren,
Universitaet Wien, Universitaetsstr. 5, A-1010 Wien, Austria
tel. +43 (1) 407 63 55 - 120 fax +43 (1) 406 41 59
----------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|