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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1dc0d0f1c69afb5a X-Google-Attributes: gid103376,public From: oconnor@apci.net (James O'Connor) Subject: Re: polymophism Date: 1996/11/23 Message-ID: <577c07$r4t@queeg.apci.net>#1/1 X-Deja-AN: 198284366 references: <56q99a$5o3@rc1.vub.ac.be> <56skhq$9cg@hacgate2.hac.com> <570f4b$rbu@queeg.apci.net> <329493AD.4A35@gsfc.nasa.gov> <32957EB9.17AF@kafka.informatik.uni-stuttgart.de> organization: Applied Personal Computing, Inc. reply-to: oconnor@apci.net (James O'Connor) newsgroups: comp.lang.ada Date: 1996-11-23T00:00:00+00:00 List-Id: In <32957EB9.17AF@kafka.informatik.uni-stuttgart.de>, Klaus Brouwer writes: >> Note I don't want to get into the fruitless religious war over whether >> >> The_object.Do_something (now); >> >> or >> >> Do_Something (The_Object, Now) >> >> is better. > >Would be better, since > >[The_Object do_someting:now] > >is best. > That looks like Smalltalk....except it won't work unless you do [The_Object do_someting:now] value. [The_Object do_someting:now] fork. myBlock := [The_Object do_someting:now] Somthing like that.... My object wasn't based on whether The_object.Do_something (now); as in C++ or Java or Do_Something (The_Object, Now); as in Ada is a better way of expressing the request of an object to perform some operation. My object was that Do_Something (The_Object, Now); obscures whether you are performing an operation *of* The_Object or *on* the object, or an operation that happens to *use* The_Object. > >Regards, > Klaus Brouwer James O'Connor oconnor@apci.net