Article View: comp.lang.misc
Article #6605An Interesting View of "Strong" Vs. "Weak" Typing
From: Edward Berard
Date: Thu, 04 Jan 1990 18:16
Date: Thu, 04 Jan 1990 18:16
35 lines
1937 bytes
1937 bytes
Folks,
I recently posted a large message to comp.object on the evaluation of
object-oriented programming languages. I have received a number of
responses. I would be interested in getting your reaction to the
following quotes from one of respondees:
>> object-oriented programming. Smalltalk has, in effect, no
>> types, but there are typed extensions to Smalltalk, e.g.,
>
> Again, CL and Smalltalk have *run-time* types - restrictions on
> the use of *objects* during program *execution*. Languages such
> as Ada have *compile-time* types - restrictions on the use of
> *identifiers* during program *compilation.*
[...]
>
> More accurately, run-time typing places the burden on the run-time
> system, whereas compile-time typing places the burden on the
> compiler *and* the programmer (who must provide explicit type
> declarations and obey them at all times during program
> development). I would ask again what solid *experimental*
> evidence anyone has to show that compile-time typing actually
> results in programs more reliable than those possible with
> run-time typing, *in the presence of the requirements evolution
> that is present in any large, complex software project*.
Are there any references documenting the benefits of strong vs. weak
typing? What are your reactions to the definitions given?
-- Ed Berard
(301) 353-9652
P.S.: For those that don't know, "CL" stands for Common Lisp.
Technical Details
Message-ID:
<641@ajpo.sei.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!ajpo!eberardShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!ajpo!eberard From: eberard@ajpo.sei.cmu.edu (Edward Berard) Newsgroups: comp.lang.misc,comp.software-eng Subject: An Interesting View of "Strong" Vs. "Weak" Typing Keywords: typing, Ada, Lisp, definitions, evidence Message-ID: <641@ajpo.sei.cmu.edu> Date: 4 Jan 90 18:16:01 GMT Lines: 35