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!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail From: Jeffrey Carter User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Surprise in array concatenation 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 08 Sep 2005 09:56:00 -0700 NNTP-Posting-Host: 147.24.111.90 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.ray.com 1126198561 147.24.111.90 (Thu, 08 Sep 2005 11:56:01 CDT) NNTP-Posting-Date: Thu, 08 Sep 2005 11:56:01 CDT Organization: Raytheon Company Xref: g2news1.google.com comp.lang.ada:4529 Date: 2005-09-08T09:56:00-07:00 List-Id: 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? -- Jeffrey Carter "Now go away or I shall taunt you a second time." Monty Python and the Holy Grail E-mail: jeffrey_r_carter-nr [commercial-at] raytheon [period | full stop] com