[Python-ideas] aliasing

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 2 02:25:07 CEST 2011


Terry Reedy wrote:

> This works because in Fortran a 'variable' is a block of memory. As I 
> remember, COMMON says to reuse memory for different variables.

Also I think in early versions of Fortran it was the only
way of sharing variables between subroutines, because there
was no concept of a global namespace -- each subroutine
was compiled independently, even if they were in the same
source file.

-- 
Greg



More information about the Python-ideas mailing list