🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3651

RE: Dynamic typing (part 31,497)

#3651
From: cs450a03
Date: Wed, 24 Apr 1991 08:06
38 lines
1913 bytes
Norman Diamond:
David Gudeman:

>>... static typing implies ... all expressions can be assigned types
>>from a restricted set ... such that machine representations can be
>>decided on at compile time 

>Yes.

>>                           and such that no type information has to
>>be associated with a value at runtime.

>No.

No, "type information has to be associated with a value at runtime" ?

Then what is dynamic typing?

Or, was this a statement that "constant type tags can be assiciated
with a value at runtime"?  If so, it is far from a clear statement.

>Why not both [dynamic and static typing] ?

"Both" is, by definition, not static typing -- such a language would
allow you to express statements which can not be statically typed.  On
the other hand, it is often a simple matter (of strength reduction) to
extract static typing information from statements in a dynamically
typed language.

One distinction is that in a dynamically typed language type
assertions are "just another operator" and most likely will use the
same syntactic conventions as other language operators.  In statically
typed language this does not have to be the case, and usually is not.

This was hashed out in comp.lang.misc about a month ago, though it
might not have been expressed fully in any one article.

Raul Rockwell
Technical Details
Message-ID: <24APR91.08062530@uc780.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!ni.umd.edu!uc780.umd.edu!cs450a03
References: <2046@optima.cs.arizona.edu> <1991Apr24.051522.28988@tkou02.enet.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!ni.umd.edu!uc780.umd.edu!cs450a03
From: cs450a03@uc780.umd.edu
Newsgroups: comp.lang.misc
Subject: RE: Dynamic typing (part 31,497)
Message-ID: <24APR91.08062530@uc780.umd.edu>
Date: 24 Apr 91 08:06:25 GMT
References: <2046@optima.cs.arizona.edu> <1991Apr24.051522.28988@tkou02.enet.dec.com>
Sender: usenet@ni.umd.edu (USENET News System)
Organization: The University of Maryland University College
Lines: 38
Nntp-Posting-Host: uc780.umd.edu