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,75ffc1f081ec10e3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Craig Carey Newsgroups: comp.lang.ada Subject: Re: Constant record components Date: Mon, 03 Jul 2006 23:46:24 +1200 Organization: Ihug Ltd Message-ID: References: <12ad8guf3sg1o0d@corp.supernews.com> <1loq7utmaxvll$.yqsxj5edzqgv.dlg@40tude.net> <12afs64kh432q0e@corp.supernews.com> NNTP-Posting-Host: 203.118.188.194 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1151927110 25890 203.118.188.194 (3 Jul 2006 11:45:10 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Mon, 3 Jul 2006 11:45:10 +0000 (UTC) X-Newsreader: Forte Agent 3.1/32.783 Xref: g2news2.google.com comp.lang.ada:5428 Date: 2006-07-03T23:46:24+12:00 List-Id: On Mon, 3 Jul 2006 09:50:31 +0200, "Dmitry A. Kazakov" wrote: >On Sun, 2 Jul 2006 09:13:54 -0700, ME wrote: >> "Dmitry A. Kazakov" wrote: >>> On Sat, 1 Jul 2006 09:25:06 -0700, ME wrote: >>> >>>> What was the rationale for prohibiting constant record components? >>> >>> Initialization and composition issues. Then often it is argued that >>> discriminants are, though limited. > >> What were these issues? > >You should ask language lawyers. [...] That is an evasion protecting a mistake. (Oberon has constant record fields. Basically any minor language can can beat Ada especially in ethics. -- Also fields could be renamed. type X is record P : Integer; Q : Integer renames P; end record;