Article View: comp.lang.misc
Article #3167Re: CHALLENGE: heterogeneous collections
From: Darren New
Date: Mon, 25 Mar 1991 20:32
Date: Mon, 25 Mar 1991 20:32
20 lines
1732 bytes
1732 bytes
In article <pallas.669923769@red-dwarf> pallas@eng.sun.com (Joseph Pallas) writes:
>The problem is, no one has ever come up with a convincing reason why I
>should want my type system to handle the heterogeneous collection.
Hmm... How about a window with a hetrogeneous collection of buttons, sliders,
text displays, etc, all of which respond to "redraw" and "is the mouse
over you"? How about in GROPE (my project) in which each window has a
hetrogeneous collection of graphical Estelle objects (modules, channels,
states, transitions, queues, etc) which all respond to "redraw", "scale
to parent", "select good default graphics", "is the mouse over you", and
so on? I have also done simulation code where collections of hetrogenous
objects are in "shopping carts" which all respond to "what is your price"
and such things. Naturally, if all you have is a hammer, you never see
the need for a screw. -- Darren
--
--- Darren New --- Grad Student --- CIS --- Univ. of Delaware ---
----- Network Protocols, Graphics, Programming Languages,
Formal Description Techniques (esp. Estelle), Coffee, Amigas -----
+=+=+ My time is very valuable, but unfortunately only to me +=+=+
Technical Details
Message-ID:
<48805@nigel.ee.udel.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!ee.udel.eduReferences:
<jls.669591628@rutabaga> <1991Mar22.210725.29448@neon.Stanford.EDU> <pallas.669923769@red-dwarf>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!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.lang.misc Subject: Re: CHALLENGE: heterogeneous collections Message-ID: <48805@nigel.ee.udel.edu> Date: 25 Mar 91 20:32:40 GMT References: <jls.669591628@rutabaga> <1991Mar22.210725.29448@neon.Stanford.EDU> <pallas.669923769@red-dwarf> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 20 Nntp-Posting-Host: nigel.ee.udel.edu