🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.st80
Article #297

Re: Typed Smalltalk

#297
From: emjej
Date: Tue, 15 Jul 1986 19:31
23 lines
1778 bytes
Josh Susser says...

>I have also found that one of Smalltalk's stongest points is its
>polymorphic nature.  Smalltalk's numeric system and collection classes
>are two of the best examples of the power and flexibility that an
>untyped polymorphic language can give you.  When I write a numeric
>algorithm in Smalltalk, it is useful for all kinds of numbers -
>SmallInteger, LargeInteger, Float, Fraction, Complex, Matrix, or any
>other kind of number I care to write - and I just don't care what type
>of number somebody may pass to my method.

Agreed, wholeheartedly!  This is, however, a property independent of
OOPS (and I will say nothing further, for fear of restarting pointless
flamage).  For example, the programming language Russell is strongly
typed, but lets one write, for example, a single quicksort procedure
that not only sorts things of any type for which there is a comparison
operator, but also doesn't care how arrays are implemented underneath.
(Maybe not of much use for quicksort, but it's nice to have, say,
Gaussian elimination routines that don't have to be rewritten for band,
sparse, polka-dotted, etc. matrices.)

						James Jones
Technical Details
Message-ID: <13300002@uokvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utcs!mnetor!seismo!gatech!cuae2!ihnp4!inuxc!pur-ee!uiucdcs!okstate.UUCP!uokvax.UUCP!emjej
References: <799@cit-vax.Caltech.Edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utcs!mnetor!seismo!gatech!cuae2!ihnp4!inuxc!pur-ee!uiucdcs!okstate.UUCP!uokvax.UUCP!emjej
From: emjej@uokvax.UUCP.UUCP
Newsgroups: net.lang.st80
Subject: Re: Typed Smalltalk
Message-ID: <13300002@uokvax.UUCP>
Date: Tue, 15-Jul-86 15:31:00 EDT
Article-I.D.: uokvax.13300002
Posted: Tue Jul 15 15:31:00 1986
Date-Received: Sat, 19-Jul-86 02:03:06 EDT
References: <799@cit-vax.Caltech.Edu>
Lines: 23
Nf-ID: #R:cit-vax.Caltech.Edu:799:uokvax.UUCP:13300002:000:1160
Nf-From: uokvax.UUCP!emjej    Jul 15 14:31:00 1986