🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3610

Re: Optional static typing limits

#3610
From: Steve Knight
Date: Thu, 18 Apr 1991 13:55
21 lines
1326 bytes
Dan writes:
> I wonder if we can raise the level of the dicussion 
> on static vs dynamic types to consider more generally where
> static typing fails to be sufficient or convenient, and why.

My view is that the key issues for convenience are arbitrary unions and,
by implication, arbitrary subtyping.  The advantage of dynamic typing is
essentially that any collection of types is itself a valid type & that
any collection of types can be extended so as to become a super-type or
restricted to form a sub-type.

He also asks:
> I am also interested in the various ways languages that support
> *optional* static typing limit the extent of static typing one can do,
> and why.

The obvious cost of this is that type inference is severely restricted.
Furthermore, it is not possible (in general) to find a most general type
for an expression in such a system.

Steve
Technical Details
Message-ID: <2400044@otter.hpl.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!otter!sfk
References: <LIBERTE.91Apr16164831@babbage.ncsa.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!otter!sfk
From: sfk@otter.hpl.hp.com (Steve Knight)
Newsgroups: comp.lang.misc
Subject: Re: Optional static typing limits
Message-ID: <2400044@otter.hpl.hp.com>
Date: 18 Apr 91 13:55:15 GMT
References: <LIBERTE.91Apr16164831@babbage.ncsa.uiuc.edu>
Organization: Hewlett-Packard Laboratories, Bristol, UK.
Lines: 21