Article View: comp.lang.misc
Article #107Re: Modula-3, Fortran, Numbers & Aliens
From: Jim Giles
Date: Wed, 08 Apr 1992 17:00
Date: Wed, 08 Apr 1992 17:00
19 lines
1560 bytes
1560 bytes
In article <id.KXOO.61F@ferranti.com>, peter@ferranti.com (Peter da Silva) writes: |> In article <STEPHEN.92Apr6203432@estragon.uchicago.edu> stephen@estragon.uchicago.edu (Stephen P Spackman) writes: |> > I think the redefinability of globals is a practical necessity when |> > writing languages with read-eval-print style interactivity that lack |> > first-class namespaces. Corrections welcome. |> |> You've fallen into Jim's trap. Since identifiers aren't typed in J, there is |> no such thing as a redefinition of a global. There is just assignment of a |> new value with a possible new type. That's _NOT_ what the supporters of J are claiming. They are saying that every occurrence of an assignment introduces a new scope and that the assignment was a _definition_ of the variable. Whatever you call it, an identified may refer to something of different type in different parts of the program - something which I consider to be undesirable. J. Giles
Technical Details
Message-ID:
<1992Apr8.170023.1191@newshost.lanl.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlgReferences:
<ROCKWELL.92Apr5115242@socrates.umd.edu> <1992Apr6.193950.5862@newshost.lanl.gov> <STEPHEN.92Apr6203432@estragon.uchicago.edu> <id.KXOO.61F@ferranti.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg From: jlg@cochiti.lanl.gov (Jim Giles) Subject: Re: Modula-3, Fortran, Numbers & Aliens Message-ID: <1992Apr8.170023.1191@newshost.lanl.gov> Sender: news@newshost.lanl.gov Organization: Los Alamos National Laboratory References: <ROCKWELL.92Apr5115242@socrates.umd.edu> <1992Apr6.193950.5862@newshost.lanl.gov> <STEPHEN.92Apr6203432@estragon.uchicago.edu> <id.KXOO.61F@ferranti.com> Date: Wed, 8 Apr 1992 17:00:23 GMT Lines: 19