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,db88d0444fafe8eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.aset.psu.edu!not-for-mail From: "Bob Spooner" Newsgroups: comp.lang.ada Subject: Re: Surprise in array concatenation Date: Fri, 9 Sep 2005 10:04:52 -0400 Organization: Penn State University, Center for Academic Computing Message-ID: References: <1125544603.561847.32140@g47g2000cwa.googlegroups.com> <14muavojz308w.1ouv7xin79rqu$.dlg@40tude.net> <87fyspgqrm.fsf@mid.deneb.enyo.de> <75KTe.5$1r.0@dfw-service2.ext.ray.com> NNTP-Posting-Host: nat3.arl.psu.edu X-Trace: f04n12.cac.psu.edu 1126274695 13444 128.118.40.78 (9 Sep 2005 14:04:55 GMT) X-Complaints-To: usenet@f04n12.cac.psu.edu NNTP-Posting-Date: Fri, 9 Sep 2005 14:04:55 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Xref: g2news1.google.com comp.lang.ada:4553 Date: 2005-09-09T10:04:52-04:00 List-Id: "Jeffrey Carter" wrote in message news:B2_Te.5$oo1.2@dfw-service2.ext.ray.com... > adaworks@sbcglobal.net wrote: > > > > Enumerated types, as presently designed, are not extensible. They > > do no encapsulate their operations, and new operations, though > > they can be added, do not bind in a way that conforms to conventional > > OO design principles. > > So? Ada types should not be a consideration during design. Once your > have your design, you decide how to implement it. If enumerated types > are not suitable, don't use them. > > Your compiler implements your design in machine code, which has no > extension mechanisms. Should that affect your design? > > -- This type of discussion has come up before. The design is always influenced by and constrained by what is available with which to implement it. And yes, machine code characteristics such as word size do affect design. In the real world, it is impossible to completely separate design from implementation. Bob