Path: 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: <1991Mar22.210725.29448@neon.Stanford.EDU> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 20 Nntp-Posting-Host: nigel.ee.udel.edu In article 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 +=+=+