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-Thread: 103376,e9c183f3911c2d73 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.236.170 with SMTP id uv10mr4386935pbc.4.1334389183300; Sat, 14 Apr 2012 00:39:43 -0700 (PDT) Path: r9ni54473pbh.0!nntp.google.com!news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Dynamic binding Date: Sat, 14 Apr 2012 08:39:41 +0100 Organization: A noiseless patient Spider Message-ID: References: <32a3d08f-7b48-46e2-b8cf-004acb6e40a3@d4g2000vbn.googlegroups.com> <55tfbsnll3t0$.1hx68o0qdhb90$.dlg@40tude.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="23580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mxOWhG77ACnOlU3muC3dmHwXyshs9Sfo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:XmK4ZDhuef1ZOQOiyfhwuzYV+VY= sha1:dZdhkEK+Mq/9vLRdu6fTxvkJ1J8= X-Received-Bytes: 1939 Content-Type: text/plain; charset=us-ascii Date: 2012-04-14T08:39:41+01:00 List-Id: "Dmitry A. Kazakov" writes: > A is called class-wide in Ada. All calls from it will be dispatching. > Class-wide operations represent in Ada the concept of generic > programming: operations defined for a whole set of types (the class). Looking at the Wikipedia article on generic programming, we have to distinguish between _generic programming_ and _genericity mechanisms_; but only after we've distinguished between three or more meanings of _generic programming_: * Ada-style generics, C++ templates ... * the C++ STL approach of Musser and Stepanov (followed in spirit by Ada.Containers) * 'datatype generic programming' (I found http://www.cs.ox.ac.uk/research/pdt/ap/dgp/ - but that paper recognises that there are yet other uses of _generic programming_) Not sure where Dmitry's meaning goes. One of the third type, I think. I can see that an alternative name such as _classwide programming_ isn't going to fly for the wider public!