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.0 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b076e6315fd62dc5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.230 with SMTP id pz6mr16757044pbc.3.1337628122505; Mon, 21 May 2012 12:22:02 -0700 (PDT) Path: pr3ni22087pbb.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: fyi, very interesting Ada paper OOP vs. Readability Date: Mon, 21 May 2012 14:21:59 -0500 Organization: Aioe.org NNTP Server Message-ID: References: <1ir29foizbqv1.v9uuhpykjl3n.dlg@40tude.net> <1qkmythqujvoa$.h4megbum9r4c$.dlg@40tude.net> Reply-To: nma@12000.org NNTP-Posting-Host: DF1IzrO23vX6v616j/sROA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=ISO-8859-5; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-05-21T14:21:59-05:00 List-Id: On 5/21/2012 1:53 PM, Dmitry A. Kazakov wrote: > >> type is builded from set's. > > Certainly not. Which type is {-3, 'a', Pi, Employee}? A type cannot be > inferred from its values domain set. It is clear that this is the case, one only needs to refer to the definition of a type, as I remember learning it in class. Something along the lines: a type is a set of values AND operations on these values. Values alone can't define a 'type'. One needs to also define what operations are allowed on these values to have complete type defined. (at least this is what the teacher told us) So, I agree with you here. --Nasser