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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73cb216d191f0fef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.106.161 with SMTP id gv1mr434196wib.4.1363346053966; Fri, 15 Mar 2013 04:14:13 -0700 (PDT) Path: g1ni67207wig.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!feeder.ecngs.de!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Is this expected behavior or not Date: Fri, 15 Mar 2013 12:15:43 +0100 Organization: cbb software GmbH Message-ID: References: <513f6e2f$0$6572$9b4e6d93@newsspool3.arcor-online.net> <513faaf7$0$6626$9b4e6d93@newsspool2.arcor-online.net> <51408e81$0$6577$9b4e6d93@newsspool3.arcor-online.net> <1xqmd3386hvns.1og1uql2cgnuf$.dlg@40tude.net> <5140b812$0$6575$9b4e6d93@newsspool3.arcor-online.net> <5140f1ad$0$6634$9b4e6d93@newsspool2.arcor-online.net> <7jct0noryc1v.1rnj5kkzx6m35.dlg@40tude.net> <5141c499$0$6642$9b4e6d93@newsspool2.arcor-online.net> <18r2kop6fyozu.tctrjnghfxqs.dlg@40tude.net> <1wv3p3nrtejfk$.bwebhg9agt0l.dlg@40tude.net> <51421404$0$6576$9b4e6d93@newsspool3.arcor-online.net> <14xhnqpbsbb2n$.6qp6jzl886e5$.dlg@40tude.net> <5142f270$0$6638$9b4e6d93@newsspool2.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.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-03-15T12:15:43+01:00 List-Id: On Fri, 15 Mar 2013 11:05:39 +0100, Georg Bauhaus wrote: > I did chose this confused view to demonstrate what will be the > effect of confusing subtype constraints (or not, as in 'Succ) > and types in the sense everyone here is supposed to approach > the word "type". Except when indicated. I already addressed this. When type+constraint is not considered a type the language becomes weakly typed. Note also that any language, even untyped, can be attributed with types. And programmers think in terms of types even if the language does not allow to articulate these types in language terms. Ada's strength, e.g. comparing to C, is in allowing to articulate types and their relationships (e.g. subtypes) rather than leaving them to reader's imagination. > Ada is then not a typed LSP language at the level of subtype constraints > and attributes of types. Make it such a language, make it convincing, > and define a model that can be turned into Ada language definitions. You are confusing LSP with typing. LSP is much less than typing in general. Ada subtype is not an LSP-subtype, yet both Ada- and LSP-subtypes are types. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de