> Since the introduction of Fortran 90 it has been my humble practice to
> (the best of my ability) to NEVER rely on type coercion but ALWAYS
> specify what kind the result is to be. That way code is unambiguous and
> self-documenting. The subtlety in the type coercion rules will always,
> unnecessarily, catch some (especially me). Thus, would it be best to
> consider deprecating the type coercion rules in favour of explicit
> specification? Otherwise there is a considerable risk of making an
> already COMPLEX situation INTRACTABLE.
Of course, old code should not break. What about expanding IMPLICIT
NONE? For example: IMPLICIT NOTYPE, NOKIND (NONE being an alias for
NOTYPE). This could be expanded more later if needed. It would also be
backwards compatible with old code.
|