🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #151

Re: Modula-3, Fortran, Numbers & Aliens

#151
From: Raul Deluth Miller-Rockwell
Date: Sat, 11 Apr 1992 04:32
25 lines
1683 bytes
Jim Giles:
   Yes, this is what I want.  Can you give an example of how to do it
   that's actually statically checked?

Not until I (or someone else) gets a compiler working.  Presently I'm
talking pretty much in theoretical terms.

   How do you guard against reassignments?  Note, the `colon'
   definitions you described earlier prevent the identifier from being
   reassigned at all.  What I want is to allow the _value_ to be
   assigned without allowing the type to ever be alterred.

I need to think about this one a bit more.  For example, how would you
deal with the case where the type of an object is "an active element
of database blahblah"?

From my experience, the significant problem area in large programs is
race conditions.  If there's no race condition, there's no need to do
the reassignment in the first place.

And, I don't know about you, but to me it seems kind of silly to
introduce a "safety mechanism" that entirely ignores the big picture.

-- 
Raul Deluth Miller-Rockwell                   <rockwell@socrates.umd.edu>
Technical Details
Message-ID: <ROCKWELL.92Apr10233251@socrates.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell
References: <ROCKWELL.92Apr5115242@socrates.umd.edu> <ROCKWELL.92Apr9233337@socrates.umd.edu> <1992Apr10.091945.25904@newshost.lanl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!socrates!socrates!rockwell
From: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Subject: Re: Modula-3, Fortran, Numbers & Aliens
In-Reply-To: jlg@cochiti.lanl.gov's message of 10 Apr 92 09:19:45 GMT
Message-ID: <ROCKWELL.92Apr10233251@socrates.umd.edu>
Sender: rockwell@socrates.umd.edu (Raul Deluth Miller-Rockwell)
Organization: Traveller
References: <ROCKWELL.92Apr5115242@socrates.umd.edu>
 <ROCKWELL.92Apr9233337@socrates.umd.edu>
 <1992Apr10.091945.25904@newshost.lanl.gov>
Date: Sat, 11 Apr 1992 04:32:51 GMT
Lines: 25