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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7d1d12d1859ad7f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-09 01:59:40 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!sgigate.sgi.com!enews.sgi.com!lll-winken.llnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!agate!howland.reston.ans.net!news.sprintlink.net!uunet!fdn.fr!univ-lyon1.fr!ghost.dsi.unimi.it!maya.dei.unipd.it!sirio.cineca.it!serra.unipi.it!swidir.switch.ch!epflnews!dinews.epfl.ch!di.epfl.ch!Stephane.Barbey From: Stephane.Barbey@di.epfl.ch (Stephane Barbey) Newsgroups: comp.lang.ada Subject: Re: An Ada9X mimic of C++ friends? Date: 9 Feb 1995 09:59:40 GMT Organization: Ecole Polytechnique Federale de Lausanne Distribution: world Message-ID: <1995Feb9.085457@di.epfl.ch> References: <3h7u4p$8cp@bellboy.ucc.uconn.edu> <3hareb$nq5@lang8.cs.nyu.edu> <3hcao9$96b@solar.sky.net> NNTP-Posting-Host: lglsun1.epfl.ch Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: 1995-02-09T09:59:40+00:00 List-Id: In article <3hcao9$96b@solar.sky.net>, jhoward@solar.sky.net (John Howard) : So my question is: does the explicit use of "TAGGED" in Ada95 have the same : negative consequences as specifying "virtual"? No, Ada 83 and Ada 95 take the approach that every primitive operation (i.e. method) of a tagged type (i.e. a class) can be freely overriden. The reserved words "virtual" (C++) or "override" (Object Pascal) are not needed in Ada 95, because dispatching (i.e. dynamic binding) does not occur on a by-method basis, but on a by-call basis (i.e. the dispatching calls), thus providing all the power and more flexibility than typical OO languages. -Stephane -- Stephane Barbey "It's not easy getting real wings" INJ-335, barbey@di.epfl.ch