Article View: comp.lang.misc
Article #2988Re: Dynamic typing (part 3)
From: Paul Crowley
Date: Thu, 14 Mar 1991 01:34
Date: Thu, 14 Mar 1991 01:34
17 lines
1195 bytes
1195 bytes
In article <618@optima.cs.arizona.edu> gudeman@cs.arizona.edu (David Gudeman) writes:
>In article <9106@castle.ed.ac.uk> Paul Crowley writes:
>--[description of a Logo's lack of type extension]--
>]... Prolog behaves this way too.
>
>In prolog you can create a new type by making it a set of terms with
>the same name/arity. That makes it pretty much the same thing as a C
>struct.
How is a language in which you can say [imaginary,5,3] different from
one in which you can say imaginary(5,3)? My problem with both is the
way they're both perfectly happy with imaginary(this_doesnt,make_sense).
You could solve it with a dynamically typed OO language, I suppose.
____
\/ o\ Paul Crowley aipdc@uk.ac.ed.castle \ /
/\__/ Part straight. Part gay. All queer. \/
Technical Details
Message-ID:
<9149@castle.ed.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aipdcReferences:
<618@optima.cs.arizona.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aipdc From: aipdc@castle.ed.ac.uk (Paul Crowley) Newsgroups: comp.lang.misc Subject: Re: Dynamic typing (part 3) Message-ID: <9149@castle.ed.ac.uk> Date: 14 Mar 91 01:34:21 GMT References: <618@optima.cs.arizona.edu> Organization: Put your analyst on danger money, baby! Lines: 17