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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,T_FILL_THIS_FORM_SHORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,39579ad87542da0e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.10.196 with SMTP id k4mr1647492wib.6.1368583816013; Tue, 14 May 2013 19:10:16 -0700 (PDT) Path: hg5ni110160wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Sat, 11 May 2013 09:22:18 +0200 Organization: cbb software GmbH Message-ID: <1jma1gzwdwidl.1bvem0w80iycn$.dlg@40tude.net> References: <1luaso698dpcc$.rrv8385qwl92.dlg@40tude.net> <1xlzfj8qy1zey$.up1s1v3syagv.dlg@40tude.net> <1nw4bxyvk1gj5.xmiirr0diavq$.dlg@40tude.net> <1q07vm77kfwla$.1cz0xwxspxhay.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 15waz9CoS+eMakbyhTPyFQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2013-05-11T09:22:18+02:00 List-Id: On Sat, 11 May 2013 06:31:57 +0100, Simon Wright wrote: > "Dmitry A. Kazakov" writes: > >> On Thu, 9 May 2013 16:33:55 -0500, Randy Brukardt wrote: >> >>> As usual, I pretty much totally disagree with your thinking here. The last >>> statement is trivially true, of course, but so what? A program has to be >>> built on top of a handful of "big" abstractions. And for each of those "big" >>> abstractions, there has to be a single type which takes the lead (probably >>> with a family of other types in support). >> >> Takes the lead, how? An abstraction including Employer, Employee, Factory, >> Salary, Time, Duration, Integer, Address, Gender, Age ... Who takes the >> "lead"? > > Randy said there would be a handful of abstractions, not just one. In a program, but in a package, he said, there should be just one. Which is a nonsense to me. > Just > taking a guess here, but in this case those would probably be Employer, > Employee, and possibly Factory. I don't see how you can seriously > suggest that Integer is a candidate. What is wrong with Integer? I also asked for a measure. My suggestion is that the measure he implicitly uses is the man-hours invested in the coding the type in question! -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de