From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,5394d9ca5f955366 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: pointers & OOP Date: 1999/05/11 Message-ID: <7h9mua$91i$1@nnrp1.deja.com>#1/1 X-Deja-AN: 476629715 References: <$DL10CAsSgL3Iwj3@jr-and-assoc.demon.co.uk> <7gn7gr$fr5$1@nnrp1.dejanews.com> <7gq27t$vnd$1@nnrp1.deja.com> <7gv70i$id6$1@nnrp1.deja.com> <7h7h9a$jdf$1@nnrp1.deja.com> <7h8v9l$dm4$1@wanadoo.fr> X-Http-Proxy: 1.0 x43.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Tue May 11 16:47:08 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-05-11T00:00:00+00:00 List-Id: In article <7h8v9l$dm4$1@wanadoo.fr>, "Jean-Pierre Rosen" wrote: > dennison@telepath.com a �crit dans le message > <7h7h9a$jdf$1@nnrp1.deja.com>... > >True. But as far as I have seen you don't *need* dynamic dispatch if > you > >aren't using a collection. The only other use for it I can see is to > >redispatch out of a classwide operation, but I have yet to need that. > Is > >there something I'm missing? > > > OK. A good example of a collection is an heterogenous file (thanks to > streams). You can read the data and then dispatch to process them > depending on their specific types. Where do you see pointers ? Hmm. Yes, you have a point there. I would point out that it seems silly to use streams for the sole purpose of implementing a collection, except that I did just that a couple months ago... -- T.E.D. --== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.---