Article View: comp.lang.misc
Article #125Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays)
From: Jim Giles
Date: Thu, 09 Apr 1992 20:51
Date: Thu, 09 Apr 1992 20:51
18 lines
1566 bytes
1566 bytes
In article <1992Apr9.042240.26041@socrates.umd.edu>, rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell) writes: |> [...] |> I find it conceptually simpler than systems where I must pre-declare |> assignments. If, as is usually the case, I do not re-declare any |> names, the entire definition for the name is in one spot, which means |> I don't have to go hunting around through source code to find the rest |> of the definition. It just occurred to me that Ada has exactly this same property. In Ada, the type of an expression must be statically determinable. In addition, Ada doesn't allow implicit coercions across assignments. So, the whole definition of an identifier can be determined by looking at the last assignment to that identifier (and, the last assignment to each of the identifiers used there, and the last assignment to each of ...). Come to think of it, it's much easier to look at the declaration of the identifier in the preamble of the code. J. Giles
Technical Details
Message-ID:
<1992Apr9.205123.13304@newshost.lanl.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlgReferences:
<ROCKWELL.92Mar21001252@socrates.umd.edu> <1992Apr9.042240.26041@socrates.umd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg From: jlg@cochiti.lanl.gov (Jim Giles) Newsgroups: comp.lang.misc Subject: Re: Types, arrays, generality, and notation (was: Fortran90 and Arrays) Message-ID: <1992Apr9.205123.13304@newshost.lanl.gov> Date: 9 Apr 92 20:51:23 GMT Article-I.D.: newshost.1992Apr9.205123.13304 References: <ROCKWELL.92Mar21001252@socrates.umd.edu> <1992Apr9.042240.26041@socrates.umd.edu> Sender: news@newshost.lanl.gov Organization: Los Alamos National Laboratory Lines: 18